aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 23c53e0..22b559e 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -1657,8 +1657,10 @@ static bool initcurses(void *oldmask)
colors = sep; /* Detect if 8 colors fallback is appended */
if (colors)
++colors;
+ g_state.ctxcolor = 1;
}
- }
+ } else
+ g_state.ctxcolor = 1;
/* Get and set the context colors */
for (uchar i = 0; i < CTX_MAX; ++i) {