mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Do not auto-revive filter in nav-to-type mode
This commit is contained in:
parent
4a2d978630
commit
7263a5f89b
12
src/nnn.c
12
src/nnn.c
|
@ -6491,20 +6491,16 @@ nochange:
|
||||||
cfg.picker ? selbufpos = 0 : write_lastdir(path);
|
cfg.picker ? selbufpos = 0 : write_lastdir(path);
|
||||||
return sel == SEL_QUITFAIL ? EXIT_FAILURE : EXIT_SUCCESS;
|
return sel == SEL_QUITFAIL ? EXIT_FAILURE : EXIT_SUCCESS;
|
||||||
default:
|
default:
|
||||||
r = FALSE;
|
if (xlines != LINES || xcols != COLS)
|
||||||
if (xlines != LINES || xcols != COLS) {
|
continue;
|
||||||
setdirwatch(); /* Terminal resized */
|
|
||||||
r = TRUE;
|
if (idletimeout && idle == idletimeout)
|
||||||
} else if (idletimeout && idle == idletimeout)
|
|
||||||
lock_terminal(); /* Locker */
|
lock_terminal(); /* Locker */
|
||||||
|
|
||||||
idle = 0;
|
idle = 0;
|
||||||
if (ndents)
|
if (ndents)
|
||||||
copycurname();
|
copycurname();
|
||||||
|
|
||||||
if (r)
|
|
||||||
continue;
|
|
||||||
|
|
||||||
goto nochange;
|
goto nochange;
|
||||||
} /* switch (sel) */
|
} /* switch (sel) */
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue