From 83e9d672a4cba675657ced0a41fc9bb28d78ab55 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Wed, 10 Mar 2021 00:15:26 -0800 Subject: [PATCH] spawning a new window should use the size from the config rather than the size of the current window. --- wezterm-gui/src/termwindow/spawn.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wezterm-gui/src/termwindow/spawn.rs b/wezterm-gui/src/termwindow/spawn.rs index 43169e1d7..9a34d6907 100644 --- a/wezterm-gui/src/termwindow/spawn.rs +++ b/wezterm-gui/src/termwindow/spawn.rs @@ -20,7 +20,7 @@ impl super::TermWindow { Self::spawn_command_impl( spawn, spawn_where, - self.terminal_size, + self.config.initial_size(), self.mux_window_id, ClipboardHelper { window: self.window.as_ref().unwrap().clone(),