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:
parent
afa25d8c57
commit
19569bd5c5
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user