about summary refs log tree commit diff
path: root/Src/Zle/zle_utils.c
diff options
context:
space:
mode:
authorRoman Perepelitsa <roman.perepelitsa@gmail.com>2019-04-09 20:45:37 +0200
committerPeter Stephenson <p.stephenson@samsung.com>2019-04-10 09:41:04 +0100
commitc5519372808d78519e1bac2db165d19a34534f74 (patch)
tree45e5f952339bb9c97bb62e0f2907f5626ffc7186 /Src/Zle/zle_utils.c
parentfe228c5984339a303c88279429ee52e5af58de05 (diff)
downloadzsh-c5519372808d78519e1bac2db165d19a34534f74.tar.gz
zsh-c5519372808d78519e1bac2db165d19a34534f74.tar.xz
zsh-c5519372808d78519e1bac2db165d19a34534f74.zip
44215: Maintain LASTWIDGET across reset-prompt.
This avoids side effects of asynchronous notifications.
Diffstat (limited to 'Src/Zle/zle_utils.c')
-rw-r--r--Src/Zle/zle_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/zle_utils.c b/Src/Zle/zle_utils.c
index c6df3d89c..0277d4917 100644
--- a/Src/Zle/zle_utils.c
+++ b/Src/Zle/zle_utils.c
@@ -1733,7 +1733,7 @@ zlecallhook(char *name, char *arg)
 
     args[0] = arg;
     args[1] = NULL;
-    execzlefunc(thingy, args, 1);
+    execzlefunc(thingy, args, 1, 0);
     unrefthingy(thingy);
 
     /* Retain any user interrupt error status */