1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-11-12 10:00:56 +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

@ -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);
}