Use shell job for terminal callback

Fixes #2529
This commit is contained in:
Zachary Yedidia
2022-08-19 15:46:01 -07:00
parent 3d6b0c6dd6
commit 810133d5a8
3 changed files with 7 additions and 6 deletions

View File

@@ -388,7 +388,6 @@ func DoEvent() {
var event tcell.Event
// Display everything
screen.DrawLock.Lock()
screen.Screen.Fill(' ', config.DefStyle)
screen.Screen.HideCursor()
action.Tabs.Display()
@@ -398,7 +397,6 @@ func DoEvent() {
action.MainTab().Display()
action.InfoBar.Display()
screen.Screen.Show()
screen.DrawLock.Unlock()
// Check for new events
select {