mirror of
https://github.com/fairyglade/ly.git
synced 2026-09-22 03:50:23 +00:00
Handle termbox2 errors
Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user