jedib0t / go-pretty

Table-writer and more in golang!
MIT License
2.82k stars 114 forks source link

Allow removal of trackers and clearing of progress #321

Open apprehensions opened 4 months ago

apprehensions commented 4 months ago

Is your feature request related to a problem? Please describe. Progress bars remain, even after completing. The same can be said for Progress when all Trackers has been satisfied.

Describe the solution you'd like func (p *Progress) Clear() to clear all trackers. func (t *Tracker) Remove() to remove the tracker from Progress

jedib0t commented 3 months ago

Hey @apprehensions can you share code or video of what you mean by the progress bars remains after completion?

apprehensions commented 3 months ago

https://raw.githubusercontent.com/jedib0t/go-pretty/main/progress/images/demo.gif

I'm thus video you made, after the trackers finish with done!, they remain there. I would like for them to be removed from the terminal instead.