瀏覽代碼

Reset current on empty filter prompt

master
Arun Prakash Jana 8 年之前
父節點
當前提交
fb4263a736
沒有發現已知的金鑰在資料庫的簽署中 GPG Key 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:


Loading…
取消
儲存