aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/tui/tui.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-11-23 02:21:04 +0100
committerJustin M. Keyes <justinkz@gmail.com>2017-11-23 21:21:58 +0100
commit9888a54f15d8b737bdc8c18406d7fccb0186a0b1 (patch)
tree9a947166569f305e67e8c08d1887ebef60e0b36a /src/nvim/tui/tui.c
parentd9b3ebfede6439aab4148c4bbf117b8950ed6aa0 (diff)
downloadrneovim-9888a54f15d8b737bdc8c18406d7fccb0186a0b1.tar.gz
rneovim-9888a54f15d8b737bdc8c18406d7fccb0186a0b1.tar.bz2
rneovim-9888a54f15d8b737bdc8c18406d7fccb0186a0b1.zip
tui: Disable BCE by default. #7624
133ae5eeeff3 implemented BCE (background color erase). That's fine if the system terminfo claims to support it; but our built-in fallback should not assume it. Per https://github.com/kovidgoyal/kitty/issues/160#issuecomment-346470545 terminal support for BCE seems to be (1) optional and (2) inconsistent. So the built-in terminfos should disable it by default. ref #4210 #4421 #7035 #7337 #7381 #7425 #7618
Diffstat (limited to 'src/nvim/tui/tui.c')
-rw-r--r--src/nvim/tui/tui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/tui/tui.c b/src/nvim/tui/tui.c
index 7ff426239a..3945d400f3 100644
--- a/src/nvim/tui/tui.c
+++ b/src/nvim/tui/tui.c
@@ -194,7 +194,7 @@ static void terminfo_start(UI *ui)
const char *term = os_getenv("TERM");
data->ut = unibi_from_env();
if (!data->ut) {
- data->ut = load_builtin_terminfo(term);
+ data->ut = terminfo_from_builtin(term);
}
// None of the following work over SSH; see :help TERM .
const char *colorterm = os_getenv("COLORTERM");