From 3825c0c30099dbe4cf19627b0525ce09f6580995 Mon Sep 17 00:00:00 2001 From: akbash Date: Thu, 6 Aug 2026 17:38:20 +0300 Subject: fix(theme): refresh host appearance on focus (#2417) * fix(theme): refresh host appearance on focus refs #2416 * fix(input): preserve split appearance replies refs #2416 * fix(input): retain fragmented appearance reports refs #2416 --------- Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com> Co-authored-by: Can Celik --- src/terminal_theme.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/terminal_theme.rs') diff --git a/src/terminal_theme.rs b/src/terminal_theme.rs index ffe78a95..3f04cc4c 100644 --- a/src/terminal_theme.rs +++ b/src/terminal_theme.rs @@ -55,6 +55,8 @@ pub enum DefaultColorKind { } pub const HOST_COLOR_QUERY_SEQUENCE: &str = "\x1b]10;?\x1b\\\x1b]11;?\x1b\\"; +#[cfg(any(not(windows), test))] +pub const HOST_COLOR_SCHEME_QUERY_SEQUENCE: &str = "\x1b[?996n"; pub const HOST_COLOR_SCHEME_REPORT_ENABLE_SEQUENCE: &str = "\x1b[?2031h"; pub const HOST_COLOR_SCHEME_REPORT_DISABLE_SEQUENCE: &str = "\x1b[?2031l"; -- cgit v1.2.3