ソースを参照

Better prompt for rename/duplicate key

master
Arun Prakash Jana 6年前
コミット
dec683c39e
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: A75979F35C080412
1個のファイルの変更7行の追加3行の削除
  1. +7
    -3
      src/nnn.c

+ 7
- 3
src/nnn.c ファイルの表示

@@ -4193,9 +4193,13 @@ nochange:
tmp = xreadline(NULL, "name/link suffix [@ for none]: ");
break;
default: /* SEL_RENAME */
dup = get_input("Press 'd' to duplicate");
tmp = xreadline(dents[cur].name, "");
break;
dup = get_input("Press 'r'(ename) / 'd'(uplicate)");
if (dup == 'r' || dup == 'd') {
tmp = xreadline(dents[cur].name, "");
break;
}

tmp = NULL;
}

if (!tmp || !*tmp)


読み込み中…
キャンセル
保存