Browse Source

Show directory size

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

+ 2
- 5
src/nnn.c View File

@@ -2417,11 +2417,8 @@ static void printent_long(const struct entry *ent, int sel, uint namecols)
coolsize(cfg.blkorder ? ent->blocks << BLK_SHIFT : ent->size), pname);
break;
case S_IFDIR:
if (cfg.blkorder)
printw("%c%-16.16s %s %8.8s/ %s/\n",
cp, timebuf, permbuf, coolsize(ent->blocks << BLK_SHIFT), pname);
else
printw("%c%-16.16s %s / %s/\n", cp, timebuf, permbuf, pname);
printw("%c%-16.16s %s %8.8s %s/\n", cp, timebuf, permbuf,
coolsize(cfg.blkorder ? ent->blocks << BLK_SHIFT : ent->size), pname);
break;
case S_IFLNK:
printw("%c%-16.16s %s @ %s@\n", cp, timebuf, permbuf, pname);


Loading…
Cancel
Save