Skip to content
Myr

Fix regression where empty preview content is not displayed

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent 69dffd7 · Browse files · 1 file+1 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−3 removed

  • other:+1 added−3 removed

1 file+1 added−3 removed

modified:src/terminal.go+1 added-3 removed
1843 unmodified lines
1844 }1845 lines = append(lines, line)1846 }1847 if err != nil {1848 if len(lines) > 0 {1849 t.reqBox.Set(reqPreviewDisplay, previewResult{version, lines, offset, ""})1848 t.reqBox.Set(reqPreviewDisplay, previewResult{version, lines, offset, ""})1850 }1849 break Loop1850 }1851 }1852 }
670 unmodified lines