mirror of
https://github.com/jarun/nnn.git
synced 2024-12-01 02:49:44 +00:00
Fix #511: chew ling strings at filter prompt
This commit is contained in:
parent
cee24984bc
commit
46f17885ce
|
@ -2622,12 +2622,8 @@ static int filterentries(char *path, char *lastname)
|
||||||
|
|
||||||
/* Reset cur in case it's a repeat search */
|
/* Reset cur in case it's a repeat search */
|
||||||
cur = 0;
|
cur = 0;
|
||||||
} else if (len == REGEX_MAX - 1) {
|
} else if (len == REGEX_MAX - 1)
|
||||||
printmsg(messages[MSG_LIMIT]);
|
continue;
|
||||||
xdelay(XDELAY_INTERVAL_MS);
|
|
||||||
*ch = MSGWAIT;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
wln[len] = (wchar_t)*ch;
|
wln[len] = (wchar_t)*ch;
|
||||||
wln[++len] = '\0';
|
wln[++len] = '\0';
|
||||||
|
|
Loading…
Reference in a new issue