aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-11-19 20:10:35 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-11-20 19:06:14 +0530
commite65e47d691f1e9c7d8676dd323a016ea1653696c (patch)
treef100d94a9187c502838a9d1e7cccdafb1641f101 /src
parent56ca0a6cce1e0521e81bedeb9876c7bc9667bd22 (diff)
downloadnnn-e65e47d691f1e9c7d8676dd323a016ea1653696c.tar.gz
Retain filter state on unhandled keypress
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 6e9cd9c..ac48048 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 */