diff options
| author | WakaTaira <50697207+WakaTaira@users.noreply.github.com> | 2026-08-02 22:53:08 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-02 16:53:08 +0300 |
| commit | 890113943999bd0332f535864b982190907449c4 (patch) | |
| tree | 602fa09cf67a48ef19eab38ba3cb0b67a9f17189 /src/app | |
| parent | d742e51530a78b77e1debe23a72ea7178810f3fd (diff) | |
fix(client): query host cell size when the ioctl reports no pixels (#2160)
Diffstat (limited to 'src/app')
| -rw-r--r-- | src/app/mod.rs | 1 | ||||
| -rw-r--r-- | src/app/runtime.rs | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/app/mod.rs b/src/app/mod.rs index 5d070afa..d049c0f2 100644 --- a/src/app/mod.rs +++ b/src/app/mod.rs @@ -1768,6 +1768,7 @@ impl App { self.set_host_terminal_appearance(appearance, true); } } + crate::raw_input::RawInputEvent::HostCellSizeReport { .. } => {} crate::raw_input::RawInputEvent::Unsupported => {} } self.sync_prefix_input_source(previous_mode); diff --git a/src/app/runtime.rs b/src/app/runtime.rs index ef0d1224..e05b9599 100644 --- a/src/app/runtime.rs +++ b/src/app/runtime.rs @@ -257,6 +257,8 @@ impl App { self.query_host_terminal_theme(); self.set_host_terminal_appearance(appearance, true) } + // Cell size reports are consumed by the thin client, not the runtime. + crate::raw_input::RawInputEvent::HostCellSizeReport { .. } => false, crate::raw_input::RawInputEvent::Unsupported => false, }; self.sync_prefix_input_source(previous_mode); |
