From: Arun Prakash Jana Date: Sun, 31 May 2020 17:35:27 +0000 (+0530) Subject: Do not auto-revive filter in nav-to-type mode X-Git-Tag: v3.3~84 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=7263a5f89b9eb16a7dceba5a4913b7c2eba803b4;p=nnn.git Do not auto-revive filter in nav-to-type mode --- diff --git a/src/nnn.c b/src/nnn.c index de172e27..3fe3badd 100644 --- 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) */ }