Closed tatref closed 1 year ago
I guess the effect of set_message
is only seen after calling inc
? So this should probably be just after inc
?
I missed it in the finebars example:
thread::sleep(wait);
pb.inc(1);
pb.set_message(format!("{:3}%", 100 * i / 512));
I guess the effect of
set_message
is only seen after callinginc
? So this should probably be just afterinc
?
Hmm, I suppose both set_message()
and inc()
will end up calling ProgressState::update_estimate_and_draw()
so it probably doesn't really matter which one goes first.
See #521