浏览代码

Show file name for easier archive naming

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

+ 8
- 5
src/nnn.c 查看文件

@@ -3645,13 +3645,16 @@ nochange:
switch (sel) {
case SEL_ARCHIVE:
r = get_input("archive selection (else current)? [s]");
if (r == 's' && !cpsafe())
goto nochange;
else if (!ndents) {
if (r == 's') {
if (!cpsafe())
goto nochange;
tmp = NULL;
} else if (!ndents) {
printmsg("no files");
goto nochange;
}
tmp = xreadline(NULL, "archive name: ");
} else
tmp = dents[cur].name;
tmp = xreadline(tmp, "archive name: ");
break;
case SEL_OPENWITH:
tmp = xreadline(NULL, "open with: ");


正在加载...
取消
保存