aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorJonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.com>2017-07-09 18:48:32 +0100
committerJonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.com>2017-07-09 19:08:56 +0100
commit68d2fb7570031cdd166722cbd7a50c41517004f2 (patch)
tree218c9f551297bfbdc99d38dca1b18939f6b794c5 /runtime
parent5bdad50307806f2e4595fc0a60d504fa2eb7fff9 (diff)
downloadrneovim-68d2fb7570031cdd166722cbd7a50c41517004f2.tar.gz
rneovim-68d2fb7570031cdd166722cbd7a50c41517004f2.tar.bz2
rneovim-68d2fb7570031cdd166722cbd7a50c41517004f2.zip
tui: Improve the setrgbf/setrgbb fallback logic.
The libvte test was too agressive, and is reduced to only triggering when it is libvte 0.36 AND a gnome or xterm terminal type is used. Contrastingly, tmux was not on the list at all and now is.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/term.txt11
1 files changed, 6 insertions, 5 deletions
diff --git a/runtime/doc/term.txt b/runtime/doc/term.txt
index 3ae63d3e21..bce944eab5 100644
--- a/runtime/doc/term.txt
+++ b/runtime/doc/term.txt
@@ -161,11 +161,12 @@ constructed "setrgbf" and "setrgbb" capabilities as if they had been in the
terminfo definition.
If your terminal's terminfo definition does not (yet) have this flag, Nvim
-will fall back to looking at the TERM and other environment variables. For
-the "rxvt", "linux", "st", and "iterm" terminal types, or when Konsole,
-genuine Xterm, or a terminal emulator that sets the COLORTERM environment
-variable to "truecolor" is detected, it will also add constructed "setrgbf"
-and "setrgbb" capabilities.
+will fall back to looking at the TERM and other environment variables. It
+will add constructed "setrgbf" and "setrgbb" capabilities in the case of the
+the "rxvt", "linux", "st", "tmux", and "iterm" terminal types, or when
+Konsole, genuine Xterm, a libvte terminal emulator version 0.36 or later, or a
+terminal emulator that sets the COLORTERM environment variable to "truecolor"
+is detected.
*xterm-resize*
Nvim can resize the terminal display on some terminals that implement an