Francois Ingelrest wrote:

> The new :term command is great! But I get a white background in my
> terminal instead of a black one. Foreground colors look right I think.
> 
> I made a few tests and found that the 'set t_RB=' line in my .vimrc
> causes this issue. If I remove it I get a proper black background.
> However if I remove it termguicolors stops working as well (see
> https://groups.google.com/d/topic/vim_dev/u80SfYhQLDw/discussion).
> 
> Is there a way to have both Vim and terminal colors to display
> properly with termguicolors, or do I have to choose between them?
> 
> BTW, this is using Vim 8.0.0946 under a Debian 8 and a Gnome terminal
> (same results with an xterm).

If I use a dark color them: ":colors darkblue", and open a terminal with
:term, then the terminal window has a dark background.

libvterm does not recognize t_RB, I don't see how it matters.  Perhaps
your 'background' value in Vim is actually not set to "dark"?

-- 
SOLDIER: What? A swallow carrying a coconut?
ARTHUR:  It could grip it by the husk ...
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

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