mirror of
https://github.com/jarun/nnn.git
synced 2025-04-12 08:26:33 +00:00
Merge pull request #1898 from a-gruzdev/dirs-context-color-fix
dirs in context color fix
This commit is contained in:
commit
86d883eee4
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue