Resolve merge conflict

Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
Titanium Brain authored and AnErrupTion committed 2026-05-11 21:10:44 +02:00
1 parent f6c44d5e57
commit 692ca9f7b5
2 files changed
+16 -41

No files matched your search

+6
View File
@@ -381,6 +381,12 @@ pub fn setCell(x: usize, y: usize, cell: Cell) void {
);
}
pub fn setCellBoundsChecked(self: *TerminalBuffer, x: isize, y: isize, cell: Cell) void {
if (0 <= x and x < self.width and 0 <= y and y < self.height) {
cell.put(@intCast(x), @intCast(y));
}
}
pub fn reclaim(self: TerminalBuffer) !void {
if (self.termios) |termios| {
// Take back control of the TTY