Term.jl icon indicating copy to clipboard operation
Term.jl copied to clipboard

Nested, ordered and thread safe progress bars.

Open nsiccha opened this issue 9 months ago • 0 comments

I've implemented nested, ordered and (hopefully) thread safe(er) progress bars for a project I'm working on (example code, most of the relevant implementation.

It shows up to a fixed number of progress bars (default: 32), chooses which ones to show by priority (currently: nesting level, then positon/id), and places "children" under its "parent". I think it's quite useful, and would like to make it available to others. But I think the implementation relies on Term.jl internals, and the better place for it would probably be in Term.jl anyways. How to proceed?

Example outputs:

4 top level children, allowing for up to 7 children each:

Image

8 top level children, allowing for up to 3 children each:

Image

32 top level children, allowing for just the top level children once all threads have started:

Image

nsiccha avatar May 08 '25 06:05 nsiccha