mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-06 02:02:42 +02:00
change redisplay to handle some cases where the line consumes more than the number of physical screen lines; add regerror() error messages if regular expression compilation fails; make sure active region readline variables are displayed with bind -v; partial fix for bind -x and commands containing quoting characters
This commit is contained in:
+1
-1
@@ -1493,7 +1493,7 @@ getwidestr (size_t *lenp)
|
||||
mbs = garglist->word->word;
|
||||
slen = strlen (mbs);
|
||||
ws = (wchar_t *)xmalloc ((slen + 1) * sizeof (wchar_t));
|
||||
mblength = mbsrtowcs (ws, &mbs, slen, &state);
|
||||
mblength = mbsrtowcs (ws, &mbs, slen + 1, &state);
|
||||
if (lenp)
|
||||
*lenp = mblength;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user