mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-12-23 11:29:01 +00:00
Fix regression in preview window rendering
This commit is contained in:
parent
4c4c6e626e
commit
b24a2e2fdc
@ -920,7 +920,12 @@ func (w *LightWindow) fill(str string, onMove func()) FillReturn {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if w.posx >= w.Width()-1 {
|
if w.posx+1 >= w.Width() {
|
||||||
|
if w.posy+1 >= w.height {
|
||||||
|
return FillSuspend
|
||||||
|
}
|
||||||
|
w.Move(w.posy+1, 0)
|
||||||
|
onMove()
|
||||||
return FillNextLine
|
return FillNextLine
|
||||||
}
|
}
|
||||||
return FillContinue
|
return FillContinue
|
||||||
|
Loading…
Reference in New Issue
Block a user