aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nnn.c b/src/nnn.c
index cc70bf9..20e082e 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -2225,7 +2225,8 @@ static int nextsel(int presel)
if (c == ERR && presel == MSGWAIT)
c = (cfg.filtermode) ? FILTER : CONTROL('L');
- else if (c == FILTER) /* Clear previous filter when manually starting */
+ else if (c == FILTER || c == CONTROL('L'))
+ /* Clear previous filter when manually starting */
clearfilter();
}