mirror of
https://github.com/junegunn/fzf.git
synced 2025-08-11 02:02:01 -07: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:
@@ -1141,6 +1141,7 @@ func (t *Terminal) executeCommand(template string, forcePlus bool, background bo
|
|||||||
t.tui.Pause()
|
t.tui.Pause()
|
||||||
cmd.Run()
|
cmd.Run()
|
||||||
if t.tui.Resume() {
|
if t.tui.Resume() {
|
||||||
|
t.tui.Clear()
|
||||||
t.printAll()
|
t.printAll()
|
||||||
}
|
}
|
||||||
t.refresh()
|
t.refresh()
|
||||||
|
@@ -534,6 +534,7 @@ func (r *LightRenderer) Pause() {
|
|||||||
r.rmcup()
|
r.rmcup()
|
||||||
} else {
|
} else {
|
||||||
r.smcup()
|
r.smcup()
|
||||||
|
r.csi("H")
|
||||||
}
|
}
|
||||||
r.flush()
|
r.flush()
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user