mirror of
https://github.com/jarun/nnn.git
synced 2025-01-15 13:26:37 +00:00
dirs in context color fix
This commit is contained in:
parent
90eb2d32c0
commit
f7cacaee5c
|
@ -2284,8 +2284,10 @@ static bool initcurses(void *oldmask)
|
||||||
msg(env_cfg[NNN_COLORS]);
|
msg(env_cfg[NNN_COLORS]);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
} else
|
} else {
|
||||||
*pcode = (*colors < '0' || *colors > '7') ? 4 : *colors - '0';
|
*pcode = (*colors < '0' || *colors > '7') ? 4 : *colors - '0';
|
||||||
|
fcolors[i + 1] = *pcode;
|
||||||
|
}
|
||||||
++colors;
|
++colors;
|
||||||
} else
|
} else
|
||||||
*pcode = 4;
|
*pcode = 4;
|
||||||
|
|
Loading…
Reference in a new issue