ソースを参照

Reset current on empty filter prompt

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

+ 2
- 7
nnn.c ファイルの表示

@@ -912,14 +912,9 @@ readln(char *path)
redraw(path);
printprompt(ln);
break;
case KEY_DOWN: // fallthrough
case KEY_UP: // fallthrough
case KEY_LEFT: // fallthrough
case KEY_RIGHT: // fallthrough
case KEY_F(2):
if (len == 1)
cur = oldcur; // fallthrough
default:
if (len == 1)
cur = oldcur;
goto end;
}
end:


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