multibar
multibar copied to clipboard
Progressbar Options are inaccessible
MakeBar returns a function, not the actual progressbar. So the options are inaccessible.
This was mostly a for fun exercise. I have no plans on updating anything on it. If a v2 ever came about, there would be big changes and probably incorporate this issue.
For what it's worth: a reliable thread safe multi-progressbar implementation that allows you to remove (clear them from stdout) progress-bars is still an unclaimed void in the Go ecosystem. There's tons of packages that all seem to lack in one way or another, mostly around removing progressbars, or resetting (reusing) ones.
I was able to access the bar properties along these lines:
progressBars.Bars[idx].Width = w