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/app/theme_sync.rs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/app/theme_sync.rs') diff --git a/src/app/theme_sync.rs b/src/app/theme_sync.rs index 32716ced..6bf06685 100644 --- a/src/app/theme_sync.rs +++ b/src/app/theme_sync.rs @@ -1,6 +1,15 @@ use super::App; impl App { + #[cfg(not(windows))] + pub(super) fn query_host_terminal_appearance(&self) { + use std::io::Write; + + let _ = std::io::stdout() + .write_all(crate::terminal_theme::HOST_COLOR_SCHEME_QUERY_SEQUENCE.as_bytes()); + let _ = std::io::stdout().flush(); + } + pub(super) fn query_host_terminal_theme(&self) { use std::io::Write; -- cgit v1.2.3