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 dd5363d..39ba0b2 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;