commit 7263a5f89b9eb16a7dceba5a4913b7c2eba803b4
parent 4a2d978630333a72a23571c323d9a005c2cf57c1
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date: Sun, 31 May 2020 23:05:27 +0530
Do not auto-revive filter in nav-to-type mode
Diffstat:
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/src/nnn.c b/src/nnn.c
@@ -6491,20 +6491,16 @@ nochange:
cfg.picker ? selbufpos = 0 : write_lastdir(path);
return sel == SEL_QUITFAIL ? EXIT_FAILURE : EXIT_SUCCESS;
default:
- r = FALSE;
- if (xlines != LINES || xcols != COLS) {
- setdirwatch(); /* Terminal resized */
- r = TRUE;
- } else if (idletimeout && idle == idletimeout)
+ if (xlines != LINES || xcols != COLS)
+ continue;
+
+ if (idletimeout && idle == idletimeout)
lock_terminal(); /* Locker */
idle = 0;
if (ndents)
copycurname();
- if (r)
- continue;
-
goto nochange;
} /* switch (sel) */
}