mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-05-20 06:56:05 +02:00
31483: Call zrefresh() before unqueue()ing signals
Not doing so causes problems for example with this .zshrc zle -N zle-line-init foo zle -N set-local-history bar foo() { zle set-local-history -n 1 } bar() { zle reset-prompt }
This commit is contained in:
parent
88599a0508
commit
d904e85904
|
@ -1,3 +1,8 @@
|
|||
2013-06-27 Mikael Magnusson <mikachu@gmail.com>
|
||||
|
||||
* 31483: Call zrefresh() before unqueue()ing signals, was
|
||||
moved in 31174.
|
||||
|
||||
2013-06-18 Frank Terbeck <ft@bewatermyfriend.org>
|
||||
|
||||
* 31485: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
|
||||
|
|
|
@ -1229,6 +1229,8 @@ zleread(char **lp, char **rp, int flags, int context, char *init, char *finish)
|
|||
initmodifier(&zmod);
|
||||
prefixflag = 0;
|
||||
|
||||
zrefresh();
|
||||
|
||||
unqueue_signals(); /* Should now be safe to acknowledge SIGWINCH */
|
||||
|
||||
zlecallhook(init, NULL);
|
||||
|
|
Loading…
Reference in New Issue