aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/term.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/term.c b/src/term.c
index fd8db5349df..b4f3dfc25e4 100644
--- a/src/term.c
+++ b/src/term.c
@@ -4155,7 +4155,7 @@ use the Bourne shell command 'TERM=...; export TERM' (C-shell:\n\
4155 /* Fall back to xterm+direct (semicolon version) if Tc is set 4155 /* Fall back to xterm+direct (semicolon version) if Tc is set
4156 (de-facto standard introduced by tmux) or if requested by 4156 (de-facto standard introduced by tmux) or if requested by
4157 the COLORTERM environment variable. */ 4157 the COLORTERM environment variable. */
4158 else if ((tigetflag ("Tc") != -1) 4158 else if ((tigetflag ("Tc") > 0)
4159 || ((bg = getenv ("COLORTERM")) != NULL 4159 || ((bg = getenv ("COLORTERM")) != NULL
4160 && strcasecmp (bg, "truecolor") == 0)) 4160 && strcasecmp (bg, "truecolor") == 0))
4161 { 4161 {