nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 46f17885ceea373f83b6eedcb276e609eb2f87c0
parent cee24984bcd0028a481a9ad825d74c0a4d5d0045
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Mon,  6 Apr 2020 21:37:36 +0530

Fix #511: chew ling strings at filter prompt

Diffstat:
Msrc/nnn.c | 8++------
1 file changed, 2 insertions(+), 6 deletions(-)

diff --git 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';