From: Daniel Stenberg Date: Thu, 13 Nov 2003 07:14:23 +0000 (+0000) Subject: Gisle Vanem added a flush to make the progress-bar look better on windows X-Git-Tag: curl-7_11_0~246 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cd9aabb474ff90723d76d42c105288dcf4bffd1b;p=curl Gisle Vanem added a flush to make the progress-bar look better on windows (at least). --- diff --git a/src/main.c b/src/main.c index dd5363d8b..39ba0b2ef 100644 --- a/src/main.c +++ b/src/main.c @@ -2366,6 +2366,7 @@ int myprogress (void *clientp, sprintf( outline, format, line, percent ); fprintf( bar->out, "\r%s", outline ); } + fflush(bar->out); bar->prev = point; return 0;