diff options
| author | Can Celik <ogulcancelik@gmail.com> | 2026-08-16 00:05:24 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-16 00:05:24 +0300 |
| commit | 2b4b3849ca7760d6fcff10cd560553bb8081a8e2 (patch) | |
| tree | ae2439467edc2595d632ade5f17affaaa558caf4 /src/app | |
| parent | 9166e07b31f920540802fe46cbe3c0d52eece2bd (diff) | |
fix(theme): skip host palette queries under wsl (#2852)
refs #2440
Diffstat (limited to 'src/app')
| -rw-r--r-- | src/app/theme_sync.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/app/theme_sync.rs b/src/app/theme_sync.rs index 6bf06685..58f95bec 100644 --- a/src/app/theme_sync.rs +++ b/src/app/theme_sync.rs @@ -13,7 +13,9 @@ impl App { pub(super) fn query_host_terminal_theme(&self) { use std::io::Write; - let query = crate::terminal_theme::host_terminal_theme_query_sequence(); + let query = crate::terminal_theme::host_terminal_theme_query_sequence( + crate::platform::should_query_host_terminal_palette(), + ); let _ = std::io::stdout().write_all(query.as_bytes()); let _ = std::io::stdout().flush(); } |
