summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/gdamore/tcell/v2/tscreen_unix.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/gdamore/tcell/v2/tscreen_unix.go')
-rw-r--r--vendor/github.com/gdamore/tcell/v2/tscreen_unix.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/vendor/github.com/gdamore/tcell/v2/tscreen_unix.go b/vendor/github.com/gdamore/tcell/v2/tscreen_unix.go
index bc8d9846c..60bbcfdae 100644
--- a/vendor/github.com/gdamore/tcell/v2/tscreen_unix.go
+++ b/vendor/github.com/gdamore/tcell/v2/tscreen_unix.go
@@ -47,6 +47,12 @@ func (t *tScreen) engage() error {
t.enablePasting(t.pasteEnabled)
signal.Notify(t.sigwinch, syscall.SIGWINCH)
+ ti := t.ti
+ t.TPuts(ti.EnterCA)
+ t.TPuts(ti.HideCursor)
+ t.TPuts(ti.EnableAcs)
+ t.TPuts(ti.Clear)
+
t.wg.Add(2)
go t.inputLoop(stopQ)
go t.mainLoop(stopQ)