Browse Source

Fix symlink to dir indicator in detail mode

master
Arun Prakash Jana 4 years ago
parent
commit
c58434d078
No known key found for this signature in database GPG Key ID: A75979F35C080412
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/nnn.c

+ 2
- 1
src/nnn.c View File

@@ -3305,7 +3305,8 @@ static void printent_long(const struct entry *ent, uint namecols, bool sel)
break;
case S_IFLNK:
ln = TRUE;
ind1 = ind2 = '@'; // fallthrough
ind1 = '@';
ind2 = (ent->flags & DIR_OR_LINK_TO_DIR) ? '/' : '@'; // fallthrough
case S_IFSOCK:
if (!ind1)
ind1 = ind2 = '='; // fallthrough


Loading…
Cancel
Save