refactor: remove unused error return in Plane.put_yx and Plane.cursor_move_yx

This commit is contained in:
CJ van den Berg 2026-01-13 16:19:47 +01:00
parent 52dfc1e706
commit 2d5288aa6f
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
16 changed files with 46 additions and 46 deletions

View file

@ -129,7 +129,7 @@ pub fn State(ctx_type: type) type {
}
fn dim_cell(plane: *Plane, y: usize, x: usize, dim_target: u8) !void {
plane.cursor_move_yx(@intCast(y), @intCast(x)) catch return;
plane.cursor_move_yx(@intCast(y), @intCast(x));
var cell = plane.cell_init();
_ = plane.at_cursor_cell(&cell) catch return;
cell.dim(dim_target);