gosuri / uiprogress

A go library to render progress bars in terminal applications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove bar from uiprogress

VojtechVitek opened this issue · comments

Thanks for this project, it's very useful!

This is rather question (and maybe feature request):

  • How can I remove progress bar after calling uiprogress.AddBar()?
  • Also, how can I stop the rendering?

Thank you. You should be able to remove from Progress.Bars array.

You cannot stop rending as on now. It stops when the function exists. But, will make that explicit.

Thanks, that is useful. I didn't realize I was using DefaultProgress.