diff options
author | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2019-04-09 20:45:37 +0200 |
---|---|---|
committer | Peter Stephenson <p.stephenson@samsung.com> | 2019-04-10 09:41:04 +0100 |
commit | c5519372808d78519e1bac2db165d19a34534f74 (patch) | |
tree | 45e5f952339bb9c97bb62e0f2907f5626ffc7186 /Src/Zle/zle_vi.c | |
parent | fe228c5984339a303c88279429ee52e5af58de05 (diff) | |
download | zsh-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_vi.c')
-rw-r--r-- | Src/Zle/zle_vi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/zle_vi.c b/Src/Zle/zle_vi.c index a5ff9200c..0f198d0e8 100644 --- a/Src/Zle/zle_vi.c +++ b/Src/Zle/zle_vi.c @@ -216,7 +216,7 @@ getvirange(int wf) * a number of lines is used. If the function used * returns 1, we fail. */ - if ((k2 == bindk) ? dovilinerange() : execzlefunc(k2, zlenoargs, 1)) + if ((k2 == bindk) ? dovilinerange() : execzlefunc(k2, zlenoargs, 1, 0)) ret = -1; if (viinrepeat) zmult = mult1; |