use suspend/resume api in tcell v2.2.0

cc #480
This commit is contained in:
Gokcehan committed 2021-02-21 17:34:38 +03:00
1 parent 1b93f2232e
commit 4c0efdcb41
4 files changed
+16 -28

No files matched your search

+1 -1
View File
@@ -405,7 +405,7 @@ func (app *app) runShell(s string, args []string, prefix string) {
cmd.Stderr = os.Stderr
app.nav.previewChan <- ""
app.ui.pause()
app.ui.suspend()
defer app.ui.resume()
defer app.nav.renew()