helix-editor / helix

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

Theme: CursorKind bar is using system terminal font color (can be effectively invisible) #8231

Closed nuke-web3 closed 1 year ago

nuke-web3 commented 1 year ago

Summary

with any bar selection for a cursor, most evidently on the opposite of the OS/system theme, the bar is illegible:

[editor.cursor-shape]
insert = "bar"

Example in normal mode (catppuccin_latte):

image

insert mode (cursor just past as:

image

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 (7f5940be)

nuke-web3 commented 1 year ago

Confirmed - system term font color is used:

image