diff --git a/src/vaxis.zig b/src/vaxis.zig index b831b4d..3ff6c33 100644 --- a/src/vaxis.zig +++ b/src/vaxis.zig @@ -113,6 +113,8 @@ pub fn Vaxis(comptime T: type) type { if (self.state.alt_screen) { _ = tty.write(ctlseqs.rmcup) catch {}; } + // always show the cursor on exit + _ = tty.write(ctlseqs.show_cursor); tty.flush() catch {}; tty.deinit(); }