From c5519372808d78519e1bac2db165d19a34534f74 Mon Sep 17 00:00:00 2001 From: Roman Perepelitsa Date: Tue, 9 Apr 2019 20:45:37 +0200 Subject: 44215: Maintain LASTWIDGET across reset-prompt. This avoids side effects of asynchronous notifications. --- Doc/Zsh/zle.yo | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Doc/Zsh/zle.yo') 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))( -- cgit 1.4.1