From 8e7661061780bf0254e36d279502aa7093247d74 Mon Sep 17 00:00:00 2001 From: Tim Culverhouse Date: Sun, 17 Mar 2024 19:26:42 -0500 Subject: [PATCH] fix: catch error on show_cursor --- src/vaxis.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vaxis.zig b/src/vaxis.zig index 3ff6c33..0384b5a 100644 --- a/src/vaxis.zig +++ b/src/vaxis.zig @@ -114,7 +114,7 @@ pub fn Vaxis(comptime T: type) type { _ = tty.write(ctlseqs.rmcup) catch {}; } // always show the cursor on exit - _ = tty.write(ctlseqs.show_cursor); + _ = tty.write(ctlseqs.show_cursor) catch {}; tty.flush() catch {}; tty.deinit(); }