-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
clear progress bar on exit #1345
Comments
This could mean either the progress bar keeps adding up even after exit or it hangs there after exit.
The line is to be cleared (with '\b') after exit? But the elapsed time is useful info. |
Agreed. Maybe we can make it update one last time with all the correct information. that may be the easiest way. |
@ipfsbot pin -r QmZjMzrgbiBYs6K97iUsEmiW22kXM62wPnaRtvcSBYMy4Q I wish o/ worked |
I am confused with the issue with progressbar staying after exit (check curl/wget, they retain the progressbar). There could be extra line saying "data transport/transfer done!" to avoid misunderstanding with the total estimated size. |
i c, like |
yeah if the progress bar stays, it should be drawn to 100% before exiting. the problem now is that (as the picture shows) the bars disappeared midway because the program exited before the bar was redrawn. i think i'm a bit happier with the bar disappearing, though i'd also be ok with it staying (at 100%). it's not critical output to keep in general, because non-ttys shouldn't see it either. progress bar is mostly for users waiting on the process + "not knowing what it's doing". thanks for fixing!! 👍 |
progress bar sometimes lingers after exit:
would be ideal to (a) stop the progress bar, (b) clear the line before (c) exiting.
The text was updated successfully, but these errors were encountered: