浏览代码

Compact notation for time/size sort order

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

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

@@ -3178,15 +3178,12 @@ static void redraw(char *path)

if (cfg.showdetail) {
if (ndents) {
char sort[] = "\0y time ";
char sort[] = "\0 ";

if (cfg.mtimeorder)
sort[0] = 'b';
else if (cfg.sizeorder) {
sort[0] = 'b';
sort[3] = 's';
sort[5] = 'z';
}
sort[0] = 'T';
else if (cfg.sizeorder)
sort[0] = 'S';

/* We need to show filename as it may be truncated in directory listing */
if (!cfg.blkorder)


正在加载...
取消
保存