mirror of https://github.com/moparisthebest/curl
Gisle Vanem added a flush to make the progress-bar look better on windows
(at least).
This commit is contained in:
parent
e42f806b3f
commit
cd9aabb474
|
@ -2366,6 +2366,7 @@ int myprogress (void *clientp,
|
||||||
sprintf( outline, format, line, percent );
|
sprintf( outline, format, line, percent );
|
||||||
fprintf( bar->out, "\r%s", outline );
|
fprintf( bar->out, "\r%s", outline );
|
||||||
}
|
}
|
||||||
|
fflush(bar->out);
|
||||||
bar->prev = point;
|
bar->prev = point;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue