Bold selection marker for better visibility

This commit is contained in:
Arun Prakash Jana 2021-05-07 23:19:37 +05:30
parent f4eb89029c
commit 4727b3baa8
No known key found for this signature in database
GPG key ID: A75979F35C080412

View file

@ -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) ? '+' : ' '); addch((ent->flags & FILE_SELECTED) ? '+' | A_BOLD : ' ');
/* Directories are always shown on top */ /* Directories are always shown on top */
resetdircolor(ent->flags); resetdircolor(ent->flags);