modifier "hidden" does not work #8082
-
SummaryThe modifier "hidden" is documented here: https://docs.helix-editor.com/themes.html#modifiers Reproduction StepsI tried this:
I expected this to happen: Selected text rendered invisible. Instead, this happened: Selected text remained visible and got the fg color black Helix logNo entries appear in the log while reproducing PlatformWindows Terminal Emulatorwezterm 20230712-072601-f4abf8fd Helix Versionhelix 23.05 (7f5940b) |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
As the docs say, these modifiers must be supported by your terminal emulator. We support a subset of SGR parameters via crossterm (see the crossterm docs). WezTerm implements a few SGR parameters not including hidden/conceal: https://github.com/wez/wezterm/blob/2c95b98447ac88e0327b84c725efc7b837bdbd75/termwiz/src/cell.rs#L268-L278. Hidden is not widely supported so if we can't find any terminal emulators that support it, we could remove it from the docs. |
Beta Was this translation helpful? Give feedback.
-
@the-mikedavis As far as I can tell, wezterm does support this code: I don't completely understand the code at https://github.com/wez/wezterm/blob/main/termwiz/src/cell.rs#L268 |
Beta Was this translation helpful? Give feedback.
-
Actually it looks like we just aren't mapping between the helix modifier and the crossterm attribute here. I've opened #8120 to fix it |
Beta Was this translation helpful? Give feedback.
Actually it looks like we just aren't mapping between the helix modifier and the crossterm attribute here. I've opened #8120 to fix it