From 68d2fb7570031cdd166722cbd7a50c41517004f2 Mon Sep 17 00:00:00 2001 From: Jonathan de Boyne Pollard Date: Sun, 9 Jul 2017 18:48:32 +0100 Subject: 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. --- runtime/doc/term.txt | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'runtime') 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 -- cgit