fix: catch error on show_cursor
This commit is contained in:
parent
449eb170f7
commit
8e76610617
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue