rsalmei / alive-progress

A new kind of Progress Bar, with real-time throughput, ETA, and very cool animations!
MIT License
5.45k stars 205 forks source link

Override time, item/second and ETA time #256

Closed Xferno2 closed 8 months ago

Xferno2 commented 11 months ago

Hello,

I'm using the progress bar in a while loop, it works great using bar skipped and i just have to keep the count of the items that I have already processed. After each iteration I just clear the console to see the bar always on top.

My question is if it's possible to implement a override for time that was elapsed since start to be able to copy the time from the last loop iteration and put it in to the next iteration? Same goes for the eta, if it's possible to adjust the eta based on the last loop time and last loop items/second?

rsalmei commented 10 months ago

Hi,

I'm not sure what you're asking here, could you try to explain it better?

rsalmei commented 8 months ago

I'm closing this one, but feel free to reply if you still want something here.