Fix display issues with execute action

- Move cursor to the top-left corner when starting a command in
  alternate screen
- Fix cursor position when returning to alternate screen when fzf is
  running in full screen mode
This commit is contained in:
Junegunn Choi
2017-01-30 01:08:07 +09:00
parent 36dceecd58
commit dd156b59fc
2 changed files with 2 additions and 0 deletions

View File

@@ -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()