diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2010-11-27 17:13:29 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2010-11-27 17:13:29 +0000 |
commit | 2e37fda9256ee65b204b475f63579f072c870093 (patch) | |
tree | f3e1e2a30c2d62eb5a763eb0aace7105d92e73c1 | |
parent | 3f42b0a61724c2d7f27d31aaf89e7930836b61ce (diff) | |
download | zsh-2e37fda9256ee65b204b475f63579f072c870093.tar.gz zsh-2e37fda9256ee65b204b475f63579f072c870093.tar.xz zsh-2e37fda9256ee65b204b475f63579f072c870093.zip |
28559: flush shell output in PROMPT_SP handling
-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); } |