-
Notifications
You must be signed in to change notification settings - Fork 83
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
What about a bar.clear()? #96
Comments
there are some events available to print your messages, just take a look into the docs |
not sure what you're referring to. I find many options to tweak the format of the bar itself, but when I'm logging extra data, that can be multi-line/ JSON.stringify/ colored, so I don't know how I could put that into the bar, that's why I'm rather completely removing the bar, then print my log data, then redraw the bar below my log output. |
ok, get your point. of course, my workaround only works for the single bar mode - and that's fine for me, as that's all I use here - but you'd also have to cover the multi bar mode (unless you'd only offer that for single bar). |
Hi,
on long-running jobs with a progress bar, I often have the need to print some extra log information in special situations.
as this interferes with the bar, I'd like the ability to completely clean out the bar, then print my log message, and then print the bar again in the next line.
currently, my workaround is:
I would rather hope for
Regards
stheine
The text was updated successfully, but these errors were encountered: