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

Query for the current background #1779

Merged
merged 6 commits into from
Jun 16, 2021
Merged

Query for the current background #1779

merged 6 commits into from
Jun 16, 2021

Conversation

dankamongmen
Copy link
Owner

Send \e]11;? to query for the current background color, ideally in RGB. Tested with XTerm, Kitty, Alacritty, and foot, looks good. This allows us to now properly work around Kitty's replacement of an explicitly-specified background equal to the default background with the default background semantics, finally.

@dankamongmen
Copy link
Owner Author

Closes @1292

@dankamongmen dankamongmen linked an issue Jun 16, 2021 that may be closed by this pull request
@dankamongmen dankamongmen merged commit f8ca942 into master Jun 16, 2021
@dankamongmen dankamongmen deleted the dankamongmen/bgdetect branch June 16, 2021 09:44
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

Successfully merging this pull request may close these issues.

detect kitty default background color at runtime for workaround
1 participant