add function to always maximize window (macOS)
This commit is contained in:
@@ -1,8 +1,14 @@
|
|||||||
local wezterm = require("wezterm")
|
local wezterm = require("wezterm")
|
||||||
local config = wezterm.config_builder()
|
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 = {
|
config = {
|
||||||
term = "xterm-kitty",
|
term = "xterm-256color",
|
||||||
enable_kitty_graphics = true,
|
enable_kitty_graphics = true,
|
||||||
max_fps = 60,
|
max_fps = 60,
|
||||||
color_scheme = "nord",
|
color_scheme = "nord",
|
||||||
|
|||||||
Reference in New Issue
Block a user