diff options
Diffstat (limited to 'client/client.c')
-rw-r--r-- | client/client.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/client.c b/client/client.c index f1c73c43..836941fd 100644 --- a/client/client.c +++ b/client/client.c @@ -281,6 +281,10 @@ server_got_reply(char *x) } else printf("??? <%s>\n", x); + /* need this, otherwise some lib seems to eat pending output when + the prompt is displayed */ + fflush(stdout); + tcdrain(fileno(stdout)); } static void |