1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-11-01 18:30:55 +01:00

29799: swap order of RESET_PROMPT / REFRESH in adjustwinsize().

This commit is contained in:
Bart Schaefer 2011-10-02 01:10:11 +00:00
parent 748bd73d88
commit 188abdd708
2 changed files with 6 additions and 2 deletions

View file

@ -1,5 +1,9 @@
2011-09-25 Barton E. Schaefer <schaefer@brasslantern.com>
* 29799: Src/utils.c: swap order of RESET_PROMPT / REFRESH in
adjustwinsize() so that the cursor is moved to the start of a
multi-line prompt before the prompt is actually displayed.
* 29769: Src/signals.c: handle thisjob == -1 (no foreground job)
when checking for whether a background job is allowed to suspend.
@ -15447,5 +15451,5 @@
*****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL
* $Revision: 1.5473 $
* $Revision: 1.5474 $
*****************************************************

View file

@ -1691,8 +1691,8 @@ adjustwinsize(int from)
winchanged =
#endif /* TIOCGWINSZ */
resetneeded = 1;
zleentry(ZLE_CMD_REFRESH);
zleentry(ZLE_CMD_RESET_PROMPT);
zleentry(ZLE_CMD_REFRESH);
}
}