瀏覽代碼

Handle some keys as special only if filter is empty

master
Arun Prakash Jana 4 年之前
父節點
當前提交
feb1d2fc27
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: A75979F35C080412
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. +3
    -3
      src/nnn.c

+ 3
- 3
src/nnn.c 查看文件

@@ -2085,12 +2085,12 @@ static int filterentries(char *path)
switch (*ch) {
case '/': /* works as Leader key in filter mode */
*ch = CONTROL('_'); // fallthrough
case ':':
case ';':
if (len == 1)
cur = oldcur;
goto end;
case '?': /* '?' is an invalid regex, show help instead */
case ':': // fallthrough /* Run plugin keys */
case ';': // fallthrough
case '?': /* Help and config key, '?' is an invalid regex */
if (len == 1) {
cur = oldcur;
goto end;


Loading…
取消
儲存