Dim file details in detail mode

This commit is contained in:
Arun Prakash Jana 2020-05-02 19:58:10 +05:30
parent 45a69f1cbf
commit f5c6f4f90b
No known key found for this signature in database
GPG Key ID: A75979F35C080412
1 changed files with 4 additions and 4 deletions

View File

@ -3254,7 +3254,7 @@ static void printent_long(const struct entry *ent, uint namecols, bool sel)
{
bool ln = FALSE;
char ind1 = '\0', ind2 = '\0';
int attrs = sel ? A_REVERSE : 0;
int attrs = sel ? A_REVERSE | A_DIM : A_DIM;
uint len;
char *size;
@ -3322,9 +3322,9 @@ static void printent_long(const struct entry *ent, uint namecols, bool sel)
}
addstr(" ");
if (ln) {
attron(A_DIM);
attrs |= A_DIM;
if (!ln) {
attroff(A_DIM);
attrs ^= A_DIM;
}
addwstr(unescape(ent->name, namecols));
if (attrs)