fix: catch error on show_cursor

This commit is contained in:
Tim Culverhouse 2024-03-17 19:26:42 -05:00
parent 449eb170f7
commit 8e76610617

View file

@ -114,7 +114,7 @@ pub fn Vaxis(comptime T: type) type {
_ = tty.write(ctlseqs.rmcup) catch {}; _ = tty.write(ctlseqs.rmcup) catch {};
} }
// always show the cursor on exit // always show the cursor on exit
_ = tty.write(ctlseqs.show_cursor); _ = tty.write(ctlseqs.show_cursor) catch {};
tty.flush() catch {}; tty.flush() catch {};
tty.deinit(); tty.deinit();
} }