mirror of
https://github.com/fairyglade/ly.git
synced 2026-09-23 04:20:20 +00:00
Handle termbox2 errors
Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
@@ -535,7 +535,7 @@ fn draw(self: *DurFile) void {
|
||||
|
||||
const cell = Cell{ .ch = @intCast(codepoint), .fg = fg_color, .bg = bg_color };
|
||||
|
||||
self.terminal_buffer.setCellBoundsChecked(cell_x, cell_y, cell);
|
||||
self.terminal_buffer.setCellBoundsChecked(cell_x, cell_y, cell) catch {};
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user