Open zhangkaizhao opened 1 year ago
The problem here is that we cannot make any guarantees about what happens when you add a ProgressBar
to a MultiProgress
after that ProgressBar
has already been drawn. In other words, MultiProgress
assumes that ProgressBar
s that have been added to it have never been drawn before. So I am inclined to close this as "not a bug".
In other words,
MultiProgress
assumes thatProgressBar
s that have been added to it have never been drawn before.
Hmm, I'm not sure this is all that obvious? Why is this a necessary requirement? And how does it influence this particular behavior?
I have no idea if this is a bug. Tested with
indicatif == 0.17.2
.The good one which can be cleared when
set_position
after added toMultiProgress
:Output:
The bad one which can't be cleared when
set_position
before added toMultiProgress
:Output: