Lubomir Rintel wrote:
> Problem: vim defaults to light theme on GNOME terminal
> Solution: Query the terminal for actual background color
>
> XTerm implements an escape sequence ESC "]11;{color}" '\007' that is able to
> change (when color = color code) and request (color = '?') the terminal
> background color. It responds with ESC "]11;rgb:{rrrr}/{gggg}/{bbbb}" '\007'
> line.
>
> The sequence is implemented by XTerm and VTE3. Not sure about other
> terminals -- at the very least Konsole 5 ignores the sequence.
>
> Tested that it works with XTerm 314, VTE 0.36.4, GNOME Terminal 3.16.2 and
> doesn't break Konsole 5 from 04/15.
Thanks. I wonder if this breaks in any other terminal. Or we would
include this and wait until someone complains...
--
>From "know your smileys":
:-) Funny
|-) Funny Oriental
(-: Funny Australian
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.