Fix header lines being cleared on toggle-preview

Close #722
This commit is contained in:
Junegunn Choi 2016-10-28 03:13:32 +09:00
parent 9f30ca2923
commit 9f321cbe13
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

View File

@ -1236,7 +1236,7 @@ func (t *Terminal) Loop() {
if t.previewer.enabled && cnt > 0 && cnt > t.cy { if t.previewer.enabled && cnt > 0 && cnt > t.cy {
t.previewBox.Set(reqPreviewEnqueue, t.currentItem()) t.previewBox.Set(reqPreviewEnqueue, t.currentItem())
} }
req(reqList, reqInfo) req(reqList, reqInfo, reqHeader)
} }
case actToggleSort: case actToggleSort:
t.sort = !t.sort t.sort = !t.sort