mirror of
https://github.com/junegunn/fzf.git
synced 2024-11-13 03:30:33 +03:00
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:
parent
36dceecd58
commit
dd156b59fc
@ -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()
|
||||
|
@ -534,6 +534,7 @@ func (r *LightRenderer) Pause() {
|
||||
r.rmcup()
|
||||
} else {
|
||||
r.smcup()
|
||||
r.csi("H")
|
||||
}
|
||||
r.flush()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user