From 181c888cdefadc617979cfa819aeae779910baa7 Mon Sep 17 00:00:00 2001 From: Stepan Bujnak Date: Wed, 11 Dec 2024 03:35:54 +0100 Subject: [PATCH] set default window size --- src/config/Config.zig | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/config/Config.zig b/src/config/Config.zig index fa531dc7e..c2437aab7 100644 --- a/src/config/Config.zig +++ b/src/config/Config.zig @@ -1022,8 +1022,7 @@ keybind: Keybinds = .{}, @"window-colorspace": WindowColorspace = .srgb, /// The initial window size. This size is in terminal grid cells by default. -/// Both values must be set to take effect. If only one value is set, it is -/// ignored. +/// Defaults to 100x34. /// /// We don't currently support specifying a size in pixels but a future change /// can enable that. If this isn't specified, the app runtime will determine @@ -1048,8 +1047,8 @@ keybind: Keybinds = .{}, /// window-decorations), then this will work as expected. /// /// Windows smaller than 10 wide by 4 high are not allowed. -@"window-height": u32 = 0, -@"window-width": u32 = 0, +@"window-height": u32 = 34, +@"window-width": u32 = 100, /// Whether to enable saving and restoring window state. Window state includes /// their position, size, tabs, splits, etc. Some window state requires shell