mirror of
https://codeberg.org/fairyglade/ly.git
synced 2026-08-26 23:44:19 +02:00
Handle termbox2 errors
Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
parent
05c1d4bece
commit
4c066ce564
17 changed files with 114 additions and 90 deletions
|
|
@ -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 {};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue