8000 Add support for non-TTY output targets by theckman · Pull Request #48 · theckman/yacspin · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add support for non-TTY output targets #48

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

Merged
merged 1 commit into from
Dec 12, 2021
Merged

Add support for non-TTY output targets #48

merged 1 commit into from
Dec 12, 2021

Conversation

theckman
Copy link
Owner

This change introduces better handling of non-TTY output targets. Specifically,
the spinner animation is disabled and the lines aren't erased. In the Non-TTY
mode, the spinner is only animated on each update to the spinner data (e.g.,
message). In addition, this does not erase the line when rendering and instead
renders the animation on a new line.

This change introduces better handling of non-TTY output targets. Specifically,
the spinner animation is disabled and the lines aren't erased. In the Non-TTY
mode, the spinner is only animated on each update to the spinner data (e.g.,
message). In addition, this does not erase the line when rendering and instead
renders the animation on a new line.
@theckman theckman merged commit 4b45330 into master Dec 12, 2021
@theckman theckman deleted the not_a_tty branch December 12, 2021 09:41
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
0