Determine the terminal size on first invocation, not for all
transfers.
Closes #22164
curl_off_t total;
curl_off_t point;
+ if(!bar->calls)
+ update_width(bar);
+
/* Calculate expected transfer size. initial_size can be less than zero when
indicating that we are expecting to get the filesize from the remote */
if(bar->initial_size < 0) {
if(config->use_resume)
bar->initial_size = config->resume_from;
- update_width(bar);
-
bar->out = tool_stderr;
bar->tick = 150;
bar->barmove = 1;