aboutsummaryrefslogtreecommitdiff
path: root/src/terminal_theme.rs
diff options
context:
space:
mode:
authorakbash <akbash@herdr.dev>2026-08-06 17:38:20 +0300
committerGitHub <noreply@github.com>2026-08-06 17:38:20 +0300
commit3825c0c30099dbe4cf19627b0525ce09f6580995 (patch)
tree7c2387374cc9150eaad170793bba0e0baa0a4068 /src/terminal_theme.rs
parentfae0b2365782c59a068fa32ee441afa64626de52 (diff)
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 <ogulcancelik@gmail.com>
Diffstat (limited to 'src/terminal_theme.rs')
-rw-r--r--src/terminal_theme.rs2
1 files changed, 2 insertions, 0 deletions
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";