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

Is output clean when redirected ? #34

Open
ewjoachim opened this issue Nov 24, 2019 · 0 comments
Open

Is output clean when redirected ? #34

ewjoachim opened this issue Nov 24, 2019 · 0 comments

Comments

@ewjoachim
Copy link
Contributor

I haven't tested it, but I wonder what the output looks like when not connected to a TTY. I believe colorama behavies itself, and doesn't output colors. Though, we also do a fair share of line rewriting and we should maybe avoid this.

Note: I believe sys.stdout.isatty might be helpful, but there's maybe something more advanced in click or colorama to help us.

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

No branches or pull requests

1 participant