-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow removal of trackers and clearing of progress #321
Comments
Hey @apprehensions can you share code or video of what you mean by the progress bars remains after completion? |
https://raw.githubusercontent.com/jedib0t/go-pretty/main/progress/images/demo.gif I'm thus video you made, after the trackers finish with |
Hey @apprehensions ... I know this is 5 months late, but I've implemented a "RemoveOnCompletion" option on the trackers. Check it out. It is on the main branch. If it works for you I can cut a new tag for you. |
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 fromProgress
The text was updated successfully, but these errors were encountered: