mirror of
https://github.com/junegunn/fzf.git
synced 2025-08-01 04:32:05 -07:00
Move cursor to the top-left when returning to alternate screen
Fix broken preview border. Reported by Thomas Sattler. fzf --bind 'enter:execute(date)' --preview=date --reverse
This commit is contained in:
@@ -552,6 +552,9 @@ func (r *LightRenderer) Resume() bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (r *LightRenderer) Clear() {
|
func (r *LightRenderer) Clear() {
|
||||||
|
if r.fullscreen {
|
||||||
|
r.csi("H")
|
||||||
|
}
|
||||||
// r.csi("u")
|
// r.csi("u")
|
||||||
r.origin()
|
r.origin()
|
||||||
r.csi("J")
|
r.csi("J")
|
||||||
|
Reference in New Issue
Block a user