aboutsummaryrefslogtreecommitdiff
path: root/src/app/theme_sync.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/theme_sync.rs')
-rw-r--r--src/app/theme_sync.rs9
1 files changed, 9 insertions, 0 deletions
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;