瀏覽代碼

Do not change contents on ESC

master
Arun Prakash Jana 5 年之前
父節點
當前提交
a70a4bf732
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: A75979F35C080412
共有 1 個檔案被更改,包括 6 行新增1 行删除
  1. +6
    -1
      src/nnn.c

+ 6
- 1
src/nnn.c 查看文件

@@ -1610,7 +1610,6 @@ static int filterentries(char *path)
case 27: /* Exit filter mode on Escape */
if (len == 1)
cur = oldcur;
*ch = CONTROL('L');
goto end;
}

@@ -3240,6 +3239,12 @@ nochange:
/* Save current */
if (ndents)
copycurname();

if (presel == 27) {
presel = 0;
break;
}

goto nochange;
case SEL_MFLTR: // fallthrough
case SEL_TOGGLEDOT: // fallthrough


Loading…
取消
儲存