diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2020-05-02 19:58:10 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2020-05-02 19:58:10 +0530 |
commit | f5c6f4f90b1b60e48f0a7c265f39b1b378596dd8 (patch) | |
tree | 0865ac4e26960aa89717499c126f7c25be3dd7d1 /src | |
parent | 45a69f1cbf99deb614e21ff3b0a1b48169e1bffc (diff) | |
download | nnn-f5c6f4f90b1b60e48f0a7c265f39b1b378596dd8.tar.gz |
Dim file details in detail mode
Diffstat (limited to 'src')
-rw-r--r-- | src/nnn.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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) |