mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2025-01-11 02:36:12 +00:00
Fix regression where empty preview content is not displayed
This commit is contained in:
parent
69dffd78a6
commit
a1f06ae27f
@ -1845,9 +1845,7 @@ func (t *Terminal) Loop() {
|
||||
lines = append(lines, line)
|
||||
}
|
||||
if err != nil {
|
||||
if len(lines) > 0 {
|
||||
t.reqBox.Set(reqPreviewDisplay, previewResult{version, lines, offset, ""})
|
||||
}
|
||||
t.reqBox.Set(reqPreviewDisplay, previewResult{version, lines, offset, ""})
|
||||
break Loop
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user