When you launch nnn -D , directories use some default color instead of context color
I made some investigation and found out that this check if (color_pair && fcolors[color_pair]) is always false for context colors, as it's values in fcolors are always 0.
I added it's initialization in initcurses to fix this. Now it looks like this
When you launch
nnn -D
, directories use some default color instead of context colorI made some investigation and found out that this check
if (color_pair && fcolors[color_pair])
is always false for context colors, as it's values infcolors
are always0
.I added it's initialization in
initcurses
to fix this. Now it looks like this