From 3ec6041b0f532f3bc709520e6323a967efda99a6 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sat, 14 Aug 2021 18:29:32 -0700 Subject: [PATCH] mux: use tab size when spawning a new tab Rather than using the configured initial window size, use the size of the current tab to size the newly spawned tab. refs: https://github.com/wez/wezterm/issues/920 --- wezterm-mux-server-impl/src/sessionhandler.rs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/wezterm-mux-server-impl/src/sessionhandler.rs b/wezterm-mux-server-impl/src/sessionhandler.rs index 8a8416084..42d095268 100644 --- a/wezterm-mux-server-impl/src/sessionhandler.rs +++ b/wezterm-mux-server-impl/src/sessionhandler.rs @@ -749,7 +749,7 @@ async fn domain_spawn_v2(spawn: SpawnV2, sender: PduSender) -> anyhow::Result anyhow::Result