Skip to content
This repository has been archived by the owner on Aug 6, 2024. It is now read-only.

Don't use spinner, colored output and emojis when output is redirected #6

Open
svenmuennich opened this issue Mar 13, 2017 · 1 comment
Labels
enhancement Issues that describe new features or improvements to existing features.

Comments

@svenmuennich
Copy link
Member

According to this SO thread, we can just use process.stdout.isTTY.

@svenmuennich svenmuennich added the enhancement Issues that describe new features or improvements to existing features. label Mar 13, 2017
@cjuner
Copy link
Member

cjuner commented Feb 27, 2018

For now, this should be an improvement wrt to processing redirected output: #12

But yes, isTTY would be – non-proper TTY outputs like IDEs or automated build environments don't usually handle control characters well (e.g., deleted previous characters to delete the spinner)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Issues that describe new features or improvements to existing features.
Projects
None yet
Development

No branches or pull requests

2 participants