nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit f7cacaee5c8cac5e97d30ec98036afe176bd62c6
parent 90eb2d32c0fe226f693172d2c1d2e364fb99a55e
Author: Aleksandr <sashask8@gmail.com>
Date:   Sat, 22 Jun 2024 12:52:32 +0200

dirs in context color fix

Diffstat:
Msrc/nnn.c | 4+++-
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;