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

Detect light/dark themes automatically #548

Open
Wilfred opened this issue Aug 3, 2023 · 0 comments
Open

Detect light/dark themes automatically #548

Wilfred opened this issue Aug 3, 2023 · 0 comments

Comments

@Wilfred
Copy link
Owner

Wilfred commented Aug 3, 2023

You can also figure out if you're in a light or dark colored terminal with the XTerm escape \e]11;?\a, supported in even older terminals.

From clap-rs/clap#2963 (comment)

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