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

colours on non-ansi terminals #81

Open
wsourdeau opened this issue Dec 13, 2023 · 1 comment
Open

colours on non-ansi terminals #81

wsourdeau opened this issue Dec 13, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@wsourdeau
Copy link

Hello, I have discovered by reading the code that the colours codes are used unconditionnally. In the case where the output is piped to a process, those colour code might make the output less easy to read.

It would be nice to either provide a command-line argument to disable the colours and/or use a validation method that ensures that stdout is an actual terminal which supports colours codes.

@thekaveman
Copy link
Member

thekaveman commented Jan 10, 2024

Hello @wsourdeau -- thank you for the suggestion, it's a great idea and I would welcome a PR! I think an argument to disable colors sounds like a good approach.

@thekaveman thekaveman added the enhancement New feature or request label Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants