commit 2eff5ce
delthas
·
2023-07-05 17:41:03 +0000 UTC
parent cad0f9c
Force resetting the cursor style to default on exit See: https://github.com/gdamore/tcell/issues/623
1 files changed,
+4,
-0
M
ui/ui.go
M
ui/ui.go
+4,
-0
1@@ -112,6 +112,10 @@ func (ui *UI) Exit() {
2 }
3
4 func (ui *UI) Close() {
5+ // See: https://github.com/gdamore/tcell/issues/623
6+ ui.screen.SetCursorStyle(tcell.CursorStyleDefault)
7+ ui.screen.Sync()
8+
9 ui.screen.Fini()
10 }
11