From 1236d6d6002038b43f4fa78a4195c31c17389ac1 Mon Sep 17 00:00:00 2001 From: Charles Danesi Date: Wed, 11 Dec 2024 10:23:10 -0500 Subject: [PATCH] add function to always maximize window (macOS) --- .config/wezterm/wezterm.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.config/wezterm/wezterm.lua b/.config/wezterm/wezterm.lua index 51a35bf..16a5bfd 100644 --- a/.config/wezterm/wezterm.lua +++ b/.config/wezterm/wezterm.lua @@ -1,8 +1,14 @@ local wezterm = require("wezterm") local config = wezterm.config_builder() +local mux = wezterm.mux + +wezterm.on("gui-startup", function() + local tab, pane, window = mux.spawn_window({}) + window:gui_window():maximize() +end) config = { - term = "xterm-kitty", + term = "xterm-256color", enable_kitty_graphics = true, max_fps = 60, color_scheme = "nord",