ソースを参照

Show current entry number in du mode

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

+ 2
- 4
nnn.c ファイルの表示

@@ -2035,13 +2035,11 @@ redraw(char *path)
else
ind[0] = '\0';

/* We need to show filename as it may
* be truncated in directory listing
*/
/* We need to show filename as it may be truncated in directory listing */
if (!cfg.blkorder)
sprintf(g_buf, "%d/%d %s[%s%s]", cur + 1, ndents, sort, unescape(dents[cur].name, 0), ind);
else {
i = sprintf(g_buf, "du: %s (%lu files) ", coolsize(dir_blocks << 9), num_files);
i = sprintf(g_buf, "%d/%d du: %s (%lu files) ", cur + 1, ndents, coolsize(dir_blocks << 9), num_files);
sprintf(g_buf + i, "vol: %s free [%s%s]", coolsize(get_fs_free(path)), unescape(dents[cur].name, 0), ind);
}



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