summary refs log tree commit diff
path: root/Doc/Zsh
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 /Doc/Zsh
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 'Doc/Zsh')
-rw-r--r--Doc/Zsh/zle.yo5
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/Zsh/zle.yo b/Doc/Zsh/zle.yo
index c2b9f5430..0986e5390 100644
--- a/Doc/Zsh/zle.yo
+++ b/Doc/Zsh/zle.yo
@@ -2415,9 +2415,12 @@ directory, or changes to the value of variables referred to by the
 prompt).
 
 Otherwise, the prompt is only expanded each time zle starts, and
-when the display as been interrupted by output from another part of the
+when the display has been interrupted by output from another part of the
 shell (such as a job notification) which causes the command line to be
 reprinted.
+
+tt(reset-prompt) doesn't alter the special parameter tt(LASTWIDGET).
+
 )
 tindex(send-break)
 item(tt(send-break) (tt(^G ESC-^G)) (unbound) (unbound))(