Commit 2c082ce8 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

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

parent 4a261ce9
Pipeline #13836 failed with stages
in 595 minutes and 17 seconds
......@@ -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))
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment