From 826178f1e2927ecef8b7699ef1269ba060a0a029 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Mon, 23 Jan 2023 02:16:26 +0900 Subject: [PATCH] Do not restore terminal state while running an external command --- src/terminal.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/terminal.go b/src/terminal.go index b2a99134..a9565c86 100644 --- a/src/terminal.go +++ b/src/terminal.go @@ -2241,7 +2241,6 @@ func (t *Terminal) executeCommand(template string, forcePlus bool, background bo t.redraw() t.refresh() } else { - t.tui.Pause(false) if captureFirstLine { out, _ := cmd.StdoutPipe() reader := bufio.NewReader(out) @@ -2252,7 +2251,6 @@ func (t *Terminal) executeCommand(template string, forcePlus bool, background bo } else { cmd.Run() } - t.tui.Resume(false, false) } t.executing.Set(false) cleanTemporaryFiles()