mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Dim file details in detail mode
This commit is contained in:
parent
45a69f1cbf
commit
f5c6f4f90b
|
@ -3254,7 +3254,7 @@ static void printent_long(const struct entry *ent, uint namecols, bool sel)
|
||||||
{
|
{
|
||||||
bool ln = FALSE;
|
bool ln = FALSE;
|
||||||
char ind1 = '\0', ind2 = '\0';
|
char ind1 = '\0', ind2 = '\0';
|
||||||
int attrs = sel ? A_REVERSE : 0;
|
int attrs = sel ? A_REVERSE | A_DIM : A_DIM;
|
||||||
uint len;
|
uint len;
|
||||||
char *size;
|
char *size;
|
||||||
|
|
||||||
|
@ -3322,9 +3322,9 @@ static void printent_long(const struct entry *ent, uint namecols, bool sel)
|
||||||
}
|
}
|
||||||
|
|
||||||
addstr(" ");
|
addstr(" ");
|
||||||
if (ln) {
|
if (!ln) {
|
||||||
attron(A_DIM);
|
attroff(A_DIM);
|
||||||
attrs |= A_DIM;
|
attrs ^= A_DIM;
|
||||||
}
|
}
|
||||||
addwstr(unescape(ent->name, namecols));
|
addwstr(unescape(ent->name, namecols));
|
||||||
if (attrs)
|
if (attrs)
|
||||||
|
|
Loading…
Reference in a new issue