Do not auto-revive filter in nav-to-type mode

This commit is contained in:
Arun Prakash Jana 2020-05-31 23:05:27 +05:30
parent 4a2d978630
commit 7263a5f89b
No known key found for this signature in database
GPG key ID: A75979F35C080412

View file

@ -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) */
}