aboutsummaryrefslogtreecommitdiffstats
path: root/src/nnn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nnn.c')
-rw-r--r--src/nnn.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 090a15c..e2aa7ff 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -3260,6 +3260,8 @@ static void printent(const struct entry *ent, uint namecols, bool sel)
{
char ind = get_ind(ent->mode, FALSE);
int attrs = ((ind == '@' || (ent->flags & HARD_LINK)) ? A_DIM : 0) | (sel ? A_REVERSE : 0);
+ if (ind == '@' && (ent->flags & DIR_OR_LINK_TO_DIR))
+ ind = '/';
if (!ind)
++namecols;