Handle termbox2 errors

Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
AnErrupTion
2026-05-17 13:26:46 +02:00
parent 05c1d4bece
commit 4c066ce564
17 changed files with 114 additions and 90 deletions

View File

@@ -117,7 +117,7 @@ fn draw(self: *Label) void {
width,
self.fg,
self.bg,
);
) catch {};
return;
}
@@ -127,7 +127,7 @@ fn draw(self: *Label) void {
self.component_pos.y,
self.fg,
self.bg,
);
) catch {};
}
fn update(self: *Label, ctx: *anyopaque) !void {