From 835f0c16d65da8c91bb501a847a04d3636f298d1 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Sun, 6 Sep 2020 05:52:25 +0530 Subject: Honor -C for context colors --- src/nnn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/nnn.c b/src/nnn.c index adb5fca..eda3cb9 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -1697,7 +1697,7 @@ static bool initcurses(void *oldmask) if (colors && *colors == '#') { char *sep = strchr(colors, ';'); - if (COLORS >= 256) { + if (!g_state.oldcolor && COLORS >= 256) { ++colors; ext = TRUE; -- cgit v1.2.3-70-g09d2