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 bd461e7..c5a5e89 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -2580,7 +2580,8 @@ static int filterentries(char *path, char *lastname)
showfilter(ln);
continue;
#ifndef NOMOUSE
- case KEY_MOUSE: // fallthrough
+ case KEY_MOUSE:
+ goto end;
#endif
case 27: /* Exit filter mode on Escape and Alt+key */
if (handle_alt_key(ch) != ERR) {