-
Notifications
You must be signed in to change notification settings - Fork 77
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
Spinner breaks my shell cursor. #1585
Comments
@nluaces you ever notice this? |
@c-kruse I have not! but thank you for reporting this issue, as it has to be fixed as well for V2 |
Though this bug is very minor, I think the real root of the issue is probably part of something we should look at more closely for v2: gracefully handling signals. Aside from leaving shells in inconvenient states, we are probably liable to be leaving whatever transactions we're performing in limbo in some places: even if the consequences are mostly just broken http connections. Glad to volunteer my time of this! |
@c-kruse are you thinking in a bigger scope than this particular issue? I mean: have you spotted more similar scenarios not related with the spinner?
Thank you! |
Describe the bug
When a skupper command with a spinner doesn't complete successfully (usually I get impatient and ^C it) the cursor in my shell disappears and I have to run
reset
to get it back (though I'm sure there's probably a more clever way to go about it.)I suspect that it is our usage of the spinner library sending control codes but not cleaning up after ourselves.
How To Reproduce
Steps to reproduce the behavior: Run a long skupper command with a spinner like
skupper init
and kill the process.otherwise run this little gizmo.
Expected behavior
I'd love for it to clean up after itself consistently.
Environment details
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: