1
0
forked from aniani/vim

patch 8.2.0518: a terminal falls back to setting $TERM to "xterm"

Problem:    A terminal falls back to setting $TERM to "xterm".
Solution:   Use "xterm-color" if more than 16 colors are supported and
            "xterm-256color" if at least 256 colors are supported.
            (closes #5887)
This commit is contained in:
Bram Moolenaar
2020-04-05 21:42:12 +02:00
parent 4c68375057
commit 5ba8d3578c
2 changed files with 10 additions and 1 deletions

View File

@@ -738,6 +738,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
518,
/**/
517,
/**/