commit 86d883eee4986c7125bd77415e1a9b6b94e6bb83
parent 90eb2d32c0fe226f693172d2c1d2e364fb99a55e
Author: Arun <engineerarun@gmail.com>
Date: Sun, 23 Jun 2024 20:34:01 +0530
Merge pull request #1898 from a-gruzdev/dirs-context-color-fix
dirs in context color fix
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/nnn.c b/src/nnn.c
@@ -2284,8 +2284,10 @@ static bool initcurses(void *oldmask)
msg(env_cfg[NNN_COLORS]);
return FALSE;
}
- } else
+ } else {
*pcode = (*colors < '0' || *colors > '7') ? 4 : *colors - '0';
+ fcolors[i + 1] = *pcode;
+ }
++colors;
} else
*pcode = 4;