mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-30 05:40:58 +01:00
28559: flush shell output in PROMPT_SP handling
This commit is contained in:
parent
3f42b0a617
commit
2e37fda925
2 changed files with 6 additions and 1 deletions
|
|
@ -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>
|
2010-11-25 Wayne Davison <wayned@users.sourceforge.net>
|
||||||
|
|
||||||
* 28445: Src/utils.c: overwrite PROMPT_SP string if it
|
* 28445: Src/utils.c: overwrite PROMPT_SP string if it
|
||||||
|
|
@ -13855,5 +13859,5 @@
|
||||||
|
|
||||||
*****************************************************
|
*****************************************************
|
||||||
* This is used by the shell to define $ZSH_PATCHLEVEL
|
* This is used by the shell to define $ZSH_PATCHLEVEL
|
||||||
* $Revision: 1.5129 $
|
* $Revision: 1.5130 $
|
||||||
*****************************************************
|
*****************************************************
|
||||||
|
|
|
||||||
|
|
@ -1293,6 +1293,7 @@ preprompt(void)
|
||||||
opts[PROMPTPERCENT] = percents;
|
opts[PROMPTPERCENT] = percents;
|
||||||
zputs(str, shout);
|
zputs(str, shout);
|
||||||
fprintf(shout, "%*s\r%*s\r", (int)columns - w - !hasxn, "", w, "");
|
fprintf(shout, "%*s\r%*s\r", (int)columns - w - !hasxn, "", w, "");
|
||||||
|
fflush(shout);
|
||||||
free(str);
|
free(str);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue