From 169a4fd90c20a00aec77d684ecec98b9f0f996cc Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Fri, 24 Jul 2026 02:39:42 +0300 Subject: fix: answer XTWINOPS size queries in panes refs #835 --- src/pane.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/pane.rs') diff --git a/src/pane.rs b/src/pane.rs index ad9e1f92..ee3aee12 100644 --- a/src/pane.rs +++ b/src/pane.rs @@ -1716,6 +1716,9 @@ impl PaneRuntime { let (response_tx, _response_rx) = mpsc::channel::(1); let mut terminal = crate::ghostty::Terminal::new(cols, rows, scrollback_limit_bytes) .map_err(|e| std::io::Error::other(e.to_string()))?; + terminal + .resize(cols, rows, cell_width_px, cell_height_px) + .map_err(|e| std::io::Error::other(e.to_string()))?; if crate::kitty_graphics::is_enabled() { terminal .enable_kitty_graphics() -- cgit v1.2.3