Byron / prodash

report progress of concurrent applications and display it in various ways
https://docs.rs/prodash
MIT License
354 stars 9 forks source link

Add parameter for maximum comment width #1

Closed Plecra closed 4 years ago

Plecra commented 4 years ago

https://asciinema.org/a/346619

In this demo, the left side of the progress bars jumps around. It looks like it's trying to keep the set of bars aligned, and when the comments change, it can take more space.

It'd be nice to be able to set that indent to a fixed value to avoid this behavior

Byron commented 4 years ago

I believe what you are look for does already exist - setting this value very high should prevent any dynamic recomputation.

Please let me know if there is anything else needed to get the behaviour you seek, and we can flesh it out here.