; * src/term.c (init_tty): Fix last change.

This commit is contained in:
Eli Zaretskii 2021-11-11 16:58:47 +02:00
parent 4a261ce91d
commit 2c082ce800

View file

@ -4155,7 +4155,7 @@ use the Bourne shell command 'TERM=...; export TERM' (C-shell:\n\
/* Fall back to xterm+direct (semicolon version) if Tc is set
(de-facto standard introduced by tmux) or if requested by
the COLORTERM environment variable. */
else if ((tigetflag ("Tc") != -1)
else if ((tigetflag ("Tc") > 0)
|| ((bg = getenv ("COLORTERM")) != NULL
&& strcasecmp (bg, "truecolor") == 0))
{