ソースを参照

Show directory size

master
Arun Prakash Jana 6年前
コミット
e68e8ad8a5
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: A75979F35C080412
1個のファイルの変更2行の追加5行の削除
  1. +2
    -5
      src/nnn.c

+ 2
- 5
src/nnn.c ファイルの表示

@@ -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);


読み込み中…
キャンセル
保存