]> Sergey Matveev's repositories - nnn.git/commitdiff
Fix #511: chew ling strings at filter prompt
authorArun Prakash Jana <engineerarun@gmail.com>
Mon, 6 Apr 2020 16:07:36 +0000 (21:37 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Mon, 6 Apr 2020 16:09:37 +0000 (21:39 +0530)
src/nnn.c

index f7d67e9167be7d0450f6f0b2848a24aeba44c3aa..8c24953d0c4478bac43e50938255379ea964095a 100644 (file)
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -2622,12 +2622,8 @@ static int filterentries(char *path, char *lastname)
 
                        /* Reset cur in case it's a repeat search */
                        cur = 0;
-               } else if (len == REGEX_MAX - 1) {
-                       printmsg(messages[MSG_LIMIT]);
-                       xdelay(XDELAY_INTERVAL_MS);
-                       *ch = MSGWAIT;
-                       break;
-               }
+               } else if (len == REGEX_MAX - 1)
+                       continue;
 
                wln[len] = (wchar_t)*ch;
                wln[++len] = '\0';