From fbc49c3dab8c4362ed07f928c8235681c36006d4 Mon Sep 17 00:00:00 2001 From: CJ van den Berg Date: Wed, 13 Aug 2025 12:54:00 +0200 Subject: [PATCH] fix: home menu length --- src/tui/home.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tui/home.zig b/src/tui/home.zig index ae8f267..198d68f 100644 --- a/src/tui/home.zig +++ b/src/tui/home.zig @@ -329,7 +329,7 @@ pub fn render(self: *Self, theme: *const Widget.Theme) bool { fn position_menu(self: *Self, y: usize, x: usize) void { const box = Widget.Box.from(self.plane); - self.menu.resize(.{ .y = box.y + y, .x = box.x + x, .w = self.menu_w }); + self.menu.resize(.{ .y = box.y + y, .x = box.x + x, .w = self.menu_w, .h = self.menu_len }); } fn center(self: *Self, non_centered: usize, w: usize) usize {