aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/terminal.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/terminal.go b/app/terminal.go
index 85d84db6..f0335de3 100644
--- a/app/terminal.go
+++ b/app/terminal.go
@@ -61,6 +61,9 @@ func (term *Terminal) closeErr(err error) {
// Stop receiving events
term.vterm.Detach()
term.vterm.Close()
+ if term.ctx != nil {
+ term.ctx.HideCursor()
+ }
}
if term.OnClose != nil {
term.OnClose(err)