浏览代码

Auto-proceed to next entry in selection mode

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

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

@@ -3977,6 +3977,11 @@ nochange:
appendfpath(newpath, r);

++ncp;
dents[cur].flags |= FILE_COPIED;

/* move cursor to the next entry if this is not the last entry */
if (cur != ndents - 1)
move_cursor((cur + 1) % ndents, 0);
} else {
r = mkpath(path, dents[cur].name, newpath);

@@ -3990,9 +3995,9 @@ nochange:

writecp(newpath, r - 1); /* Truncate NULL from end */
spawn(copier, NULL, NULL, NULL, F_NOTRACE);
}

dents[cur].flags |= FILE_COPIED;
dents[cur].flags |= FILE_COPIED;
}
break;
case SEL_COPYMUL:
cfg.copymode ^= 1;


正在加载...
取消
保存