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! -- Hayaki Saito -- -- 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.
introduce-xenl.diff
Description: Binary data
