1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-29 05:21:00 +01:00

28559: flush shell output in PROMPT_SP handling

This commit is contained in:
Peter Stephenson 2010-11-27 17:13:29 +00:00
parent 3f42b0a617
commit 2e37fda925
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2010-11-27 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 28559: Src/utils.c: flush shell output in PROMPT_SP handling.
2010-11-25 Wayne Davison <wayned@users.sourceforge.net>
* 28445: Src/utils.c: overwrite PROMPT_SP string if it
@ -13855,5 +13859,5 @@
*****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL
* $Revision: 1.5129 $
* $Revision: 1.5130 $
*****************************************************

View file

@ -1293,6 +1293,7 @@ preprompt(void)
opts[PROMPTPERCENT] = percents;
zputs(str, shout);
fprintf(shout, "%*s\r%*s\r", (int)columns - w - !hasxn, "", w, "");
fflush(shout);
free(str);
}