From 1b9286166e2b49fb11823a0f02baa6c42e66fe61 Mon Sep 17 00:00:00 2001 From: AnErrupTion Date: Thu, 5 Feb 2026 20:10:10 +0100 Subject: [PATCH] [Backport] Fix buffer not resizing with no animation Signed-off-by: AnErrupTion --- src/main.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.zig b/src/main.zig index a714586..f2b9e87 100644 --- a/src/main.zig +++ b/src/main.zig @@ -633,7 +633,7 @@ pub fn main() !void { while (run) { // If there's no input or there's an animation, a resolution change needs to be checked - if (!update or animate) { + if (!update or animate or config.bigclock != .none or config.clock != null) { if (!update) std.Thread.sleep(std.time.ns_per_ms * 100); _ = termbox.tb_present(); // Required to update tb_width() and tb_height()