mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-11-01 18:30:55 +01:00
36470: Auxiliary to 36468, return an empty buffer from zleread() if a widget exits
This commit is contained in:
parent
86229fdf09
commit
3bca11c35c
2 changed files with 6 additions and 1 deletions
|
|
@ -1276,7 +1276,7 @@ zleread(char **lp, char **rp, int flags, int context, char *init, char *finish)
|
|||
alarm(0);
|
||||
|
||||
freeundo();
|
||||
if (eofsent || errflag) {
|
||||
if (eofsent || errflag || exit_pending) {
|
||||
s = NULL;
|
||||
} else {
|
||||
zleline[zlell++] = ZWC('\n');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue