浏览代码

Restore filter on context switch in non nav-as-you-type mode

master
Arun Prakash Jana 4 年前
父节点
当前提交
f0f8008014
找不到此签名对应的密钥 GPG 密钥 ID: A75979F35C080412
共有 1 个文件被更改,包括 6 次插入1 次删除
  1. +6
    -1
      src/nnn.c

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

@@ -5381,8 +5381,13 @@ nochange:
path = g_ctx[r].c_path;
lastdir = g_ctx[r].c_last;
lastname = g_ctx[r].c_name;
tmp = g_ctx[r].c_fltr;

if (cfg.filtermode || ((tmp[0] == FILTER || tmp[0] == RFILTER) && tmp[1]))
presel = FILTER;
else
dir_changed = TRUE;

setdirwatch();
goto begin;
case SEL_PIN:
free(mark);


正在加载...
取消
保存