François Ingelrest wrote:

> On 2 May 2017 at 11:15, Bram Moolenaar <[email protected]> wrote:
> > Hmm, and when you set 'background' to the right value in your .vimrc,
> > does that make any difference?
> 
> Yes this works. I added 'set t_RB=<1b>]11;?<07>' and I get the proper
> colors. Actually setting it to any value seems to work as well since
> it's overwritten by vim's code later on if I got it correctly. So
> setting it to be empty or to any string works, it's not setting it at
> all in my .vimrc that breaks termguicolors for me.

Yeah, as son as you set 'background' explicitly then Vim won't try to
fetch the background color from the terminal.  So only when the original
guess is wrong it would result in a redraw and the side effects of
setting 'background'.

We can't influence the first guess for the background, thus there is not
much else to play with here to see if we can make the side effects of
setting 'background' not break termguicolors.

-- 
Permission is granted to read this message out aloud on Kings Cross Road,
London, under the condition that the orator is properly dressed.

 /// 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.

Raspunde prin e-mail lui