diff --git a/src/terminal.go b/src/terminal.go index ee678f5..134462e 100644 --- a/src/terminal.go +++ b/src/terminal.go @@ -1141,6 +1141,7 @@ func (t *Terminal) executeCommand(template string, forcePlus bool, background bo t.tui.Pause() cmd.Run() if t.tui.Resume() { + t.tui.Clear() t.printAll() } t.refresh() diff --git a/src/tui/light.go b/src/tui/light.go index 90b3bae..d5631ec 100644 --- a/src/tui/light.go +++ b/src/tui/light.go @@ -534,6 +534,7 @@ func (r *LightRenderer) Pause() { r.rmcup() } else { r.smcup() + r.csi("H") } r.flush() }