]> granicus.if.org Git - curl/commitdiff
Gisle Vanem added a flush to make the progress-bar look better on windows
authorDaniel Stenberg <daniel@haxx.se>
Thu, 13 Nov 2003 07:14:23 +0000 (07:14 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 13 Nov 2003 07:14:23 +0000 (07:14 +0000)
(at least).

src/main.c

index dd5363d8b54732bad6554ed4e98521f02ea7284b..39ba0b2ef436c1d7ac59facfd23a0baddfcbf82c 100644 (file)
@@ -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;