From 2d85862d94e5baee7cadba118a156b88c84f4913 Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Mon, 28 Apr 2025 21:31:45 +0100 Subject: [PATCH] Add local.lua example config to comment --- wezterm.lua | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/wezterm.lua b/wezterm.lua index 1522a8e..4b15593 100644 --- a/wezterm.lua +++ b/wezterm.lua @@ -104,6 +104,14 @@ local try_require = function(module) pcall(function() require(module)(wezterm, config) end) end; +-- Example of ~/.config/wezterm/local.lua to set the window size +-- +-- ```lua +-- return function(wezterm, config) +-- config.initial_rows = 107 +-- config.initial_cols = 322 +-- end +-- ``` try_require('local') return config