mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-12-23 03:19:01 +00:00
parent
15d351b0f0
commit
1bcbc5a353
@ -1,6 +1,10 @@
|
||||
CHANGELOG
|
||||
=========
|
||||
|
||||
0.24.2
|
||||
------
|
||||
- Bug fixes and improvements
|
||||
|
||||
0.24.1
|
||||
------
|
||||
- Fixed broken `--color=[bw|no]` option
|
||||
|
@ -1254,6 +1254,7 @@ func (t *Terminal) renderPreviewText(unchanged bool) {
|
||||
}
|
||||
var ansi *ansiState
|
||||
for _, line := range t.previewer.lines {
|
||||
line = strings.TrimSuffix(line, "\n")
|
||||
if lineNo >= height || t.pwindow.Y() == height-1 && t.pwindow.X() > 0 {
|
||||
t.previewed.filled = true
|
||||
break
|
||||
@ -1284,6 +1285,7 @@ func (t *Terminal) renderPreviewText(unchanged bool) {
|
||||
if unchanged && lineNo == 0 {
|
||||
break
|
||||
}
|
||||
t.pwindow.Fill("\n")
|
||||
}
|
||||
lineNo++
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user