瀏覽代碼

Show current entry number.

...because you need to know where you are.
master
Arun Prakash Jana 7 年之前
父節點
當前提交
082974dc8e
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: A75979F35C080412
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      nnn.c

+ 1
- 1
nnn.c 查看文件

@@ -2039,7 +2039,7 @@ redraw(char *path)
* be truncated in directory listing
*/
if (!cfg.blkorder)
sprintf(g_buf, "total %d %s[%s%s]", ndents, sort, unescape(dents[cur].name, 0), ind);
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);
sprintf(g_buf + i, "vol: %s free [%s%s]", coolsize(get_fs_free(path)), unescape(dents[cur].name, 0), ind);


Loading…
取消
儲存