Skip to content
Snippets Groups Projects
Unverified Commit 19569bd5 authored by Junegunn Choi's avatar Junegunn Choi
Browse files

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
parent afa25d8c
No related branches found
No related tags found
No related merge requests found
......@@ -552,6 +552,9 @@ func (r *LightRenderer) Resume() bool {
}
func (r *LightRenderer) Clear() {
if r.fullscreen {
r.csi("H")
}
// r.csi("u")
r.origin()
r.csi("J")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment