I think this is just an oversight, but I want to confirm that instead of sending a PR without justification.
I can see how it would make sense to want to reset the ETA but not the time elapsed. E.g. maybe progress stalled for a while, or something, and you want a clean estimate without resetting the time elapsed counter. On the other hand, I can't imagine wanting to reset the time elapsed for the whole progress bar without expecting that to also reset the ETA. It doesn't make very much sense for the progress bar to say it's only been active 1 minute, when the ETA / bitrate is based on data from the last two minutes.
My thinking is that the Reset::Elapsed mode should also reset ::Eta, but not vice versa, and that both of these should be independent of Reset::All (because you only want to recreate the whole progress bar in specific situations).
I think this is just an oversight, but I want to confirm that instead of sending a PR without justification.
I can see how it would make sense to want to reset the ETA but not the time elapsed. E.g. maybe progress stalled for a while, or something, and you want a clean estimate without resetting the time elapsed counter. On the other hand, I can't imagine wanting to reset the time elapsed for the whole progress bar without expecting that to also reset the ETA. It doesn't make very much sense for the progress bar to say it's only been active 1 minute, when the ETA / bitrate is based on data from the last two minutes.
My thinking is that the
Reset::Elapsed
mode should also reset::Eta
, but not vice versa, and that both of these should be independent ofReset::All
(because you only want to recreate the whole progress bar in specific situations).