Handle termbox2 errors

Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
AnErrupTion 2026-05-17 13:26:46 +02:00
commit 4c066ce564
No known key found for this signature in database
17 changed files with 114 additions and 90 deletions

View file

@ -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 {};
}
}