From 46f17885ceea373f83b6eedcb276e609eb2f87c0 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Mon, 6 Apr 2020 21:37:36 +0530 Subject: [PATCH] Fix #511: chew ling strings at filter prompt --- src/nnn.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/nnn.c b/src/nnn.c index f7d67e91..8c24953d 100644 --- 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';