Closed JojiiOfficial closed 4 years ago
Progress bar is structured like this:
[Decorator1..DecoratorN] [BarFiller] [Decorator1..DecoratorN]
To replace BarFiller
with some string on completion, use BarFillerOnComplete option.
If you need something more advanced use BarFillerMiddleware option.
For decorators there is similar option named decor.OnComplete.
Exactly what I was looking for. Thank you!
Is it possible to set the text of the progressbar after calling the "AddBar" func? Lets assume I want to upload a file. After uploading I receive data from a server where the file was uploaded to. How can I set the "OnComplete" text of the bar dynamically after the file is uploaded?