helix-editor / helix

A post-modern modal text editor.
https://helix-editor.com
Mozilla Public License 2.0
32.77k stars 2.41k forks source link

Themeable command line cursor #11396

Open creightor opened 1 month ago

creightor commented 1 month ago

In all of the light themes the cursor in the command line at the very bottom is invisible because both the background and cursor and white. image image This makes it hard to edit commands and AFAIK there is no way to configure the cursor color in that section, it would be nice if it was.

CptPotato commented 1 month ago

I think helix uses the terminal's cursor here and doesn't have control over the color.

creightor commented 1 month ago

I think helix uses the terminal's cursor here and doesn't have control over the color.

The cursor is themeable in buffers though image

CptPotato commented 1 month ago

Yes, the block cursor in buffers is not using the native terminal cursor, instead it simply changes the cells background color.

I think it should be possible to have the command line work the same, but it needs to be refactored to use the same technique as buffers that use the block cursor.