From e65e47d691f1e9c7d8676dd323a016ea1653696c Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Mon, 19 Nov 2018 20:10:35 +0530 Subject: [PATCH] Retain filter state on unhandled keypress --- src/nnn.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/nnn.c b/src/nnn.c index 6e9cd9c0..ac480480 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -3362,6 +3362,9 @@ nochange: dentfree(dents); return; + default: + if (sel && cfg.filtermode) + presel = FILTER; } /* switch (sel) */ /* Screensaver */