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

@ -200,9 +200,9 @@ fn draw(self: *Matrix) void {
.bg = self.terminal_buffer.bg,
};
cell.put(x, y - 1);
cell.put(x, y - 1) catch {};
// Fill background in between columns
self.default_cell.put(x + 1, y - 1);
self.default_cell.put(x + 1, y - 1) catch {};
}
}
}