m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-17 07:43:39 -05:00

Fix characters from previous preview not being cleared

Fix #4075
This commit is contained in:
Junegunn Choi
2024-11-03 15:06:11 +09:00
parent 99163f5afa
commit bacc8609ee

View File

@@ -1097,7 +1097,7 @@ func (w *LightWindow) fill(str string, resetCode string) FillReturn {
} }
} }
} }
if w.posx+1 >= w.Width() { if w.posx >= w.Width() {
if w.posy+1 >= w.height { if w.posy+1 >= w.height {
return FillSuspend return FillSuspend
} }