aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-11-13 07:14:23 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-11-13 07:14:23 +0000
commitcd9aabb474ff90723d76d42c105288dcf4bffd1b (patch)
tree3d4b9dd4980098e4fb692f46402ce2ba489baabe /src
parente42f806b3f5053a2a1e593e01c838c1dbfefcc5a (diff)
Gisle Vanem added a flush to make the progress-bar look better on windows
(at least).
Diffstat (limited to 'src')
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
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;