-
-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding MultiBar logging #51
Comments
If it's easier, |
Sorry, this seems to be an issue with using Parallel more than this gem. It looks like Parallel would have to integrate with this for it to be successful. |
Hi Brian 👋 Thanks for using Currently, the Not sure if this helps but you can update an individual bar display with custom tokens using the advance method like so: Parallel.each(examples) do
bars[Parallel.worker_number].advance(X, name: "Something")
end |
Hey there, I'm having a crack at this again because I have another case where I need multiple processes and need to log from them. I've tried lots of different things to add I think one of the root problems is that since the current Do you have any hints for how I could make this work? |
I feel the title of this issue is a bit misleading. The I haven't thought about how the |
I fixed the title, thanks for catching that. I tried for a while to log via I will make a draft PR tonight and go from there. Thanks! |
I created #52 that has WIP code for this. Two examples of getting close but not quite. There's a Thanks for taking a look. |
Hi! 👋 Firstly, THANK YOU FOR THESE AMAZING GEMS! The TTY suite is exceptional.
Describe the problem
When using
TTY::ProgressBar::Multi
, logging with each registered bar results in corrupted output.Steps to reproduce the problem
Actual behaviour
The previous logs are overwritten:
Expected behaviour
Logging is printed above the multibar
Describe your environment
The text was updated successfully, but these errors were encountered: