1
0
forked from aniani/vim

patch 8.0.1033: detecting background color does not work in screen

Problem:    Detecting background color does not work in screen, even when it
            is working like an xterm.
Solution:   Make "screen.xterm" use termcap entries like an xterm. (Lubomir
            Rintel, closes #2048)  When termresponse version is huge also
            recognize as not being an xterm.
This commit is contained in:
Bram Moolenaar
2017-09-01 20:24:03 +02:00
parent 9ac9dfa9e2
commit 995e4afcfe
3 changed files with 17 additions and 10 deletions

View File

@@ -2280,6 +2280,7 @@ vim_is_xterm(char_u *name)
|| STRNICMP(name, "kterm", 5) == 0
|| STRNICMP(name, "mlterm", 6) == 0
|| STRNICMP(name, "rxvt", 4) == 0
|| STRNICMP(name, "screen.xterm", 12) == 0
|| STRCMP(name, "builtin_xterm") == 0);
}