Skip to content

Commit

Permalink
fix: catch error on show_cursor
Browse files Browse the repository at this point in the history
  • Loading branch information
rockorager committed Mar 18, 2024
1 parent 449eb17 commit 8e76610
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vaxis.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 8e76610

Please sign in to comment.