mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Fix #511
This commit is contained in:
parent
e1ed4c62c5
commit
cee24984bc
11
src/nnn.c
11
src/nnn.c
|
@ -2619,14 +2619,15 @@ static int filterentries(char *path, char *lastname)
|
|||
showfilter(ln);
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
/* Reset cur in case it's a repeat search */
|
||||
if (len == 1)
|
||||
/* Reset cur in case it's a repeat search */
|
||||
cur = 0;
|
||||
|
||||
if (len == REGEX_MAX - 1)
|
||||
} else if (len == REGEX_MAX - 1) {
|
||||
printmsg(messages[MSG_LIMIT]);
|
||||
xdelay(XDELAY_INTERVAL_MS);
|
||||
*ch = MSGWAIT;
|
||||
break;
|
||||
}
|
||||
|
||||
wln[len] = (wchar_t)*ch;
|
||||
wln[++len] = '\0';
|
||||
|
|
Loading…
Reference in a new issue