diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2024-11-03 15:06:11 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2024-11-03 15:07:17 +0900 |
| commit | bacc8609ee22fb9bbe34dc812ecb6075f4e58007 (patch) | |
| tree | 5bb2b520bc3a36640cf52190297b99abe1b02bde /src | |
| parent | 99163f5afa6ef4aea3c99103406ffe3aa6fa922c (diff) | |
| download | fzf-bacc8609ee22fb9bbe34dc812ecb6075f4e58007.tar.gz | |
Fix characters from previous preview not being cleared
Fix #4075
Diffstat (limited to 'src')
| -rw-r--r-- | src/tui/light.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tui/light.go b/src/tui/light.go index 80488bf7..054c23a3 100644 --- a/src/tui/light.go +++ b/src/tui/light.go @@ -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 { return FillSuspend } |
