浏览代码

Remove file indicator from file name

master
Arun Prakash Jana 6 年前
父节点
当前提交
a161635ecc
找不到此签名对应的密钥 GPG 密钥 ID: A75979F35C080412
共有 1 个文件被更改,包括 4 次插入6 次删除
  1. +4
    -6
      src/nnn.c

+ 4
- 6
src/nnn.c 查看文件

@@ -2736,9 +2736,8 @@ static void redraw(char *path)

/* We need to show filename as it may be truncated in directory listing */
if (!cfg.blkorder)
mvprintw(LINES - 1, 0, "%d/%d %s[%s%s]\n", cur + 1, ndents, sort,
unescape(dents[cur].name, NAME_MAX),
get_file_sym(dents[cur].mode));
mvprintw(LINES - 1, 0, "%d/%d %s[%s]\n", cur + 1, ndents, sort,
unescape(dents[cur].name, NAME_MAX));
else {
xstrlcpy(buf, coolsize(dir_blocks << BLK_SHIFT), 12);
if (cfg.apparentsz)
@@ -2747,11 +2746,10 @@ static void redraw(char *path)
c = 'd';

mvprintw(LINES - 1, 0,
"%d/%d %cu: %s (%lu files) vol: %s free [%s%s]\n",
"%d/%d %cu: %s (%lu files) vol: %s free [%s]\n",
cur + 1, ndents, c, buf, num_files,
coolsize(get_fs_info(path, FREE)),
unescape(dents[cur].name, NAME_MAX),
get_file_sym(dents[cur].mode));
unescape(dents[cur].name, NAME_MAX));
}
} else
printmsg("0/0");


正在加载...
取消
保存