diff options
| author | akbash <akbash@herdr.dev> | 2026-07-24 01:28:35 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-24 01:28:35 +0300 |
| commit | 503613c8ecbea752a234daf30cb0ad5a8bf93e4e (patch) | |
| tree | 34b71e4c7055244ed191c043457c572e3ccfc935 /src/client/mod.rs | |
| parent | 58ad2c6438cf25cdf7e95528c7114d3bf12626d2 (diff) | |
fix: inherit host palette in pane queries (#1759)
refs #1752
Co-authored-by: Ogulcan Celik <ogulcancelik@gmail.com>
Diffstat (limited to 'src/client/mod.rs')
| -rw-r--r-- | src/client/mod.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/client/mod.rs b/src/client/mod.rs index a22fd227..b1c363f2 100644 --- a/src/client/mod.rs +++ b/src/client/mod.rs @@ -2135,7 +2135,8 @@ fn should_query_host_terminal_theme() -> bool { } fn write_host_terminal_theme_query(mut writer: impl io::Write) -> io::Result<()> { - writer.write_all(crate::terminal_theme::HOST_COLOR_QUERY_SEQUENCE.as_bytes())?; + let query = crate::terminal_theme::host_terminal_theme_query_sequence(); + writer.write_all(query.as_bytes())?; writer.flush() } @@ -2412,7 +2413,7 @@ mod tests { write_host_terminal_theme_query(&mut output).unwrap(); assert_eq!( output, - crate::terminal_theme::HOST_COLOR_QUERY_SEQUENCE.as_bytes() + crate::terminal_theme::host_terminal_theme_query_sequence().as_bytes() ); } |
