瀏覽代碼

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: ");


Loading…
取消
儲存