Skip to content
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

Leave a clear line after spinner is stopped #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sbogomolov
Copy link

Currently after spinner is stopped it might leave behind the last symbol
that was printed. This happens because '\b' is non-destructive in many
terminal emulators. If '\n' is printed after spinner is done - the last
printed symbol will remain printed (instead of an empty line). This
happens because '\n' also happens to be non-destructive.

VS Code is one example of such terminal emulator.

Currently after spinner is stopped it might leave behind the last symbol
that was printed. This happens because '\b' is non-destructive in many
terminal emulators. If '\n' is printed after spinner is done - the last
printed symbol will remain printed (instead of an empty line). This
happens because '\n' also happens to be non-destructive.

VS Code is one example of such terminal emulator.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant