mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-09-02 16:10:46 +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;
|
||||
|
||||
|
||||
@@ -141,6 +141,10 @@ Options:
|
||||
- Assign any remaining arguments to the positional parameters.
|
||||
The -x and -v options are turned off.
|
||||
|
||||
If -o is supplied with no option-name, set prints the current shell
|
||||
option settings. If +o is supplied with no option-name, set prints a
|
||||
series of set commands to recreate the current option settings.
|
||||
|
||||
Using + rather than - causes these flags to be turned off. The
|
||||
flags can also be used upon invocation of the shell. The current
|
||||
set of flags may be found in $-. The remaining n ARGs are positional
|
||||
|
||||
Reference in New Issue
Block a user