diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | Src/utils.c | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 5f2ed7009..0ed62b963 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 $ ***************************************************** diff --git a/Src/utils.c b/Src/utils.c index 9678df01d..8e557fd4c 100644 --- a/Src/utils.c +++ b/Src/utils.c @@ -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); } |