瀏覽代碼

Start dir watch, preserve cur entry when navigate-as-you-type is disabled

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

+ 7
- 4
nnn.c 查看文件

@@ -2733,11 +2733,14 @@ nochange:
cfg.filtermode ^= 1;
if (cfg.filtermode)
presel = FILTER;
else if (!ndents)
/* If there are no entries refresh to start watching dir */
else {
/* Save current */
if (ndents > 0)
copycurname();

/* Start watching the directory */
goto begin;
else
printmsg("navigate-as-you-type off");
}
goto nochange;
case SEL_SEARCH:
spawn(player, path, "search", NULL, F_NORMAL);


Loading…
取消
儲存