curl / Mailing Lists / curl-users / Single Mail

curl-users

Re: Status of Progress Bar

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 7 May 2018 10:08:53 +0200 (CEST)

On Sun, 6 May 2018, Stephen McDowell wrote:

> We can reproduce the effect locally by using a small terminal size (e.g., <
> 40 chars wide), but the Travis specific failure is likely caused by
> something else. It’s an unfortunate heisenbug (doesn’t happen always, just
> frequently), so I will try my best to see if I can find a reliable way to
> reproduce it.

If you check the code [1], you'll see that the default progress meter output
doesn't care about the screen width but just assumes it'll be >= 80 columns
and will fit the output...

[1] = https://github.com/curl/curl/blob/e953475de59407051d45b46634fd2d8ddc725e9e/lib/progress.c#L581-L598

-- 
  / daniel.haxx.se

-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-05-07