浏览代码

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:


正在加载...
取消
保存