Replies: 5 comments 3 replies
-
On windows terminal using WSL debian There is however Lines 3212 to 3245 in de7f5bd |
Beta Was this translation helpful? Give feedback.
-
I have inverted it, and this might be a BREAKING change: #13977 |
Beta Was this translation helpful? Give feedback.
-
I was quite interested in this myself. I found this commit from neovim. There is an escape sequence that lets you support this. Should be called OSC. Also you might be interested in this issue that tracked some issues related to the feature. |
Beta Was this translation helpful? Give feedback.
-
Vim has it. The thing is, vim defaults to 'light' background and checks for the terminal OSC response which might fail/be incorrect. To add to it, more than 1000 screendump tests are relying on |
Beta Was this translation helpful? Give feedback.
-
Hi, does anyone remembers or knows about the algorithm being used to detect dark/light background of terminal?
vim/src/term.c
Lines 6287 to 6295 in fef6630
vim/src/term.c
Line 5776 in fef6630
It looks like nowadays it "almost always" incorrectly detects light background for terminals with black background color.
Beta Was this translation helpful? Give feedback.
All reactions