]> Sergey Matveev's repositories - nnn.git/commitdiff
Fix regression from commit 2200a1c
authorArun Prakash Jana <engineerarun@gmail.com>
Tue, 19 May 2020 12:24:36 +0000 (17:54 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Tue, 19 May 2020 12:24:36 +0000 (17:54 +0530)
src/nnn.c

index bd461e70a4e152ceef6a19be6d6abeb9d1c87906..c5a5e89ba1cd6fa510fe04ec5745b91341505e86 100644 (file)
--- 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) {