Theme: CursorKind bar is using system terminal font color (can be effectively invisible) #8234
Replies: 4 comments 3 replies
-
Confirmed - system term font color is used: |
Beta Was this translation helpful? Give feedback.
-
AFAIK there isn't a way for a terminal application to tell the terminal which color to use for the cursor. For block cursors we actually hide the terminal's cursor and highlight the cell at the cursor's position with the color from the theme. There isn't a way to highlight a part of a cell so we can't use the same trick for the bar cursor. |
Beta Was this translation helpful? Give feedback.
-
After setting [editor.cursor-shape]
insert = "bar" the theme BTW: I think this should be considered being a bug. |
Beta Was this translation helpful? Give feedback.
-
#9002 is related |
Beta Was this translation helpful? Give feedback.
-
Summary
with any
bar
selection for a cursor, most evidently on the opposite of the OS/system theme, the bar is illegible:Example in normal mode (catppuccin_latte):
insert mode (cursor just past
as
:Reproduction Steps
Try out just about any theme, us a bar cursor, and I think it is using the underlying system color for terminal font to render, not some color from the theme...? In my case, wezterm using 'Monokai Dark (Gogh)'
Helix log
No response
Platform
Linux
Terminal Emulator
wezterm 20230712-072601-f4abf8fd
Helix Version
helix 23.05 (7f5940b)
Beta Was this translation helpful? Give feedback.
All reactions