Hayaki Saito wrote:

> Hi, lists
> 
> In non-bce terminals(such as GNU Screen/tmux), only the bottom-right
> cell in vim screen did not respect "ctermbg" setting.
> We can reproduce it with the following command.
> 
>    $ TERM=screen vim -u NONE --cmd "hi Normal ctermbg=4"
> 
>    screenshot: http://zuse.jp/misc/ctermbg-on-non-bce-terminal.png
> 
> The reason why vim does so, is the fear of causing unexpected scroll
> by writing something to the bottom-right cell of the terminal screen.
> 
> I wrote a patch that adds support for well-known terminal capability
> "xn"(termcap) or "xenl"(terminfo).
> This termcap flag gives vim enough confident to write something safely
> to the bottom-right cell and provides improved background color
> support.
> 
> This patch also fix a typo in screen.c:
> 
>    Don't to it! -> Don't do it!

Sounds good, thanks!


-- 
hundred-and-one symptoms of being an internet addict:
133. You communicate with people on other continents more than you
     do with your own neighbors.

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