mtm | Ncurses-based terminal multiplexer |
| download: https://git.y1.nz/archives/mtm.tar.gz | |
| Files | Log | Refs |
commit 526d7893c6ec7103697b4079e9f68845a5e74843 parent a5e6f9dfb9e14e5248d65847dbb987730bf0bb8e Author: Rob King <jking@deadpixi.com> Date: Sun, 21 Jul 2019 22:21:05 -0500 Better hi-color support guessing. Diffstat:
| M | mtm.c | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mtm.c b/mtm.c @@ -728,7 +728,7 @@ getterm(void) const char *envterm = getenv("TERM"); if (term) return term; - if (envterm && strstr(envterm, "-256color") && !strstr(DEFAULT_TERMINAL, "-256color")) + if (envterm && COLORS >= 256 && !strstr(DEFAULT_TERMINAL, "-256color")) return DEFAULT_TERMINAL "-256color"; return DEFAULT_TERMINAL; }
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.