vbauerster / mpb

multi progress bar for Go cli applications
The Unlicense
2.29k stars 123 forks source link

Display text instead of progress bar #112

Closed Wulfheart closed 1 year ago

Wulfheart commented 2 years ago

Hello,

similar to yacspin (which does not support parallel spinners) I would like to have a text displayed instead of a progress bar. Is this possible with this library and if so, how can this be achieved?

Thanks in advance.

vbauerster commented 1 year ago

Hi!

It is possible. You have to implement your own Filler, or you can use NopStyle implementation to not show any bar at all.

Wulfheart commented 1 year ago

@vbauerster thanks for your response. Is it also possible to display a spinner? I don’t think so, or is it possible?

vbauerster commented 1 year ago

Check this one: https://github.com/vbauerster/mpb/blob/master/_examples/spinnerBar/main.go

Wulfheart commented 1 year ago

Ah. Thanks. But there is no possibility to edit the prepended/appended text on the fly without a queue, right?