mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Reverse selection mark for visibility
This commit is contained in:
parent
4727b3baa8
commit
7acc9196d5
|
@ -3723,7 +3723,7 @@ static void printent(const struct entry *ent, uint_t namecols, bool sel)
|
||||||
int attrs = 0;
|
int attrs = 0;
|
||||||
uchar_t color_pair = get_color_pair_name_ind(ent, &ind, &attrs);
|
uchar_t color_pair = get_color_pair_name_ind(ent, &ind, &attrs);
|
||||||
|
|
||||||
addch((ent->flags & FILE_SELECTED) ? '+' | A_BOLD : ' ');
|
addch((ent->flags & FILE_SELECTED) ? '+' | A_REVERSE : ' ');
|
||||||
|
|
||||||
/* Directories are always shown on top */
|
/* Directories are always shown on top */
|
||||||
resetdircolor(ent->flags);
|
resetdircolor(ent->flags);
|
||||||
|
|
Loading…
Reference in a new issue