aboutsummaryrefslogtreecommitdiffstats
path: root/src/term.c
diff options
context:
space:
mode:
authorEli Zaretskii2021-11-11 16:58:47 +0200
committerEli Zaretskii2021-11-11 16:58:47 +0200
commit2c082ce800db92ffd41381dbd9cc2879b4308ebf (patch)
tree40076acd4a67a9855ad504a091c8f0dc02b0678a /src/term.c
parent4a261ce91dbb6a0cfcbce47428a777147bb86c6d (diff)
downloademacs-2c082ce800db92ffd41381dbd9cc2879b4308ebf.tar.gz
emacs-2c082ce800db92ffd41381dbd9cc2879b4308ebf.zip
; * src/term.c (init_tty): Fix last change.
Diffstat (limited to 'src/term.c')
-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 {