Allow re-enabling preview follow on change-preview-window

pull/3117/head
Junegunn Choi 1 year ago
parent 4d22b5aaef
commit e0f0984da7
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

@ -3320,6 +3320,9 @@ func (t *Terminal) Loop() {
if t.hasPreviewWindow() && currentPreviewOpts.scroll != t.previewOpts.scroll {
scrollPreviewTo(t.evaluateScrollOffset())
}
// Resume following
t.previewer.following = t.previewOpts.follow
case actNextSelected, actPrevSelected:
if len(t.selected) > 0 {
total := t.merger.Length()

Loading…
Cancel
Save