aboutsummaryrefslogtreecommitdiff
path: root/src/pane.rs
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-07-24 02:39:42 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-07-24 02:39:51 +0300
commit169a4fd90c20a00aec77d684ecec98b9f0f996cc (patch)
treeaa92f013e5380ff5d3253eeb6393f91b85f1c26b /src/pane.rs
parent1bcc55e47d94a10b154a180e01ee8c068b953337 (diff)
fix: answer XTWINOPS size queries in panes
refs #835
Diffstat (limited to 'src/pane.rs')
-rw-r--r--src/pane.rs3
1 files changed, 3 insertions, 0 deletions
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::<Bytes>(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()