diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2019-09-15 18:25:11 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2019-09-15 18:25:11 +0530 |
commit | e68e8ad8a5ecbb58b776c04574b55e3c60936f93 (patch) | |
tree | 8a92a01c9a8d6932770d94810bdf010e65339b8a /src | |
parent | 6feaecafe2f576f3b67c8c67fc22df9115790701 (diff) | |
download | nnn-e68e8ad8a5ecbb58b776c04574b55e3c60936f93.tar.gz |
Show directory size
Diffstat (limited to 'src')
-rw-r--r-- | src/nnn.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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); |