aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-08-04 22:19:01 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-08-04 22:19:01 +0530
commit66bb5a67d60e89fef15c9c08b9e9b9c490e3678e (patch)
treeb2a4bf7093ee72e95df0db71f91f70bc66786020 /src
parentef2d5a54d271016521cca82802c38313be4ca179 (diff)
downloadnnn-66bb5a67d60e89fef15c9c08b9e9b9c490e3678e.tar.gz
Update docs
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) {