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

Feature request: detects whether the terminal supports color #18929

Open
idranme opened this issue Apr 30, 2023 · 1 comment
Open

Feature request: detects whether the terminal supports color #18929

idranme opened this issue Apr 30, 2023 · 1 comment
Labels
suggestion suggestions for new features (yet to be agreed)

Comments

@idranme
Copy link
Contributor

idranme commented Apr 30, 2023

Currently, if I want to know whether the terminal supports color or not, I need to judge it by env, and I need to request permission when reading env. So, I would like to have an API that can tell me if the terminal supports color without having to determine it via env.

@marvinhagemeister
Copy link
Contributor

Related: #18549

@aapoalas aapoalas added the suggestion suggestions for new features (yet to be agreed) label May 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
suggestion suggestions for new features (yet to be agreed)
Projects
None yet
Development

No branches or pull requests

3 participants