diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2020-09-06 05:52:25 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2020-09-06 06:06:59 +0530 |
commit | 835f0c16d65da8c91bb501a847a04d3636f298d1 (patch) | |
tree | c27a8fa3f68cdb3ccf782d80217e8fe162f3620a | |
parent | 055652d979af4b3e93d804e9a3b0d6bb2cfe7650 (diff) | |
download | nnn-835f0c16d65da8c91bb501a847a04d3636f298d1.tar.gz |
Honor -C for context colors
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | src/nnn.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -81,6 +81,7 @@ It runs smoothly on the Pi, [Termux](https://www.youtube.com/watch?v=AbaauM7gUJw - Static binary available (no need to install) - Minimal library deps, easy to compile - No config file, minimal config with sensible defaults + - Plugin to backup configuration - Widely available on many packagers - Touch enabled, comfortable on handhelds too! - Unicode support @@ -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; |