diff options
author | Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.com> | 2017-05-28 12:18:01 +0100 |
---|---|---|
committer | Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.com> | 2017-06-03 18:53:28 +0100 |
commit | 5377de33ac4adea54c9c9980c7a6bc8cc70c0c7a (patch) | |
tree | eaec5a1aa5e6fca97941feb89a81212212b8d010 /src | |
parent | 3f8dedd7aefaa64cea83add75715701b50625812 (diff) | |
download | rneovim-5377de33ac4adea54c9c9980c7a6bc8cc70c0c7a.tar.gz rneovim-5377de33ac4adea54c9c9980c7a6bc8cc70c0c7a.tar.bz2 rneovim-5377de33ac4adea54c9c9980c7a6bc8cc70c0c7a.zip |
tui: Add st to the always 256-colour capable list.
Also comment and augment some terminal colour tests.
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/tui/tui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/tui/tui.c b/src/nvim/tui/tui.c index 3d27758b01..5ea46c5ab7 100644 --- a/src/nvim/tui/tui.c +++ b/src/nvim/tui/tui.c @@ -2459,7 +2459,7 @@ static void patch_terminfo_bugs(TUIData *data, const char *term, if (unibi_get_num(ut, unibi_max_colors) < 256) { // See http://fedoraproject.org/wiki/Features/256_Color_Terminals for // more on this. - if (konsole || mate || xterm || gnome || rxvt + if (konsole || mate || xterm || gnome || rxvt || st || linuxvt // Linux 4.8+ supports 256-colour SGR. || (colorterm && strstr(colorterm, "256")) || (term && strstr(term, "256")) |