mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-12-23 11:29:01 +00:00
Allow re-enabling preview follow on change-preview-window
This commit is contained in:
parent
4d22b5aaef
commit
e0f0984da7
@ -3320,6 +3320,9 @@ func (t *Terminal) Loop() {
|
|||||||
if t.hasPreviewWindow() && currentPreviewOpts.scroll != t.previewOpts.scroll {
|
if t.hasPreviewWindow() && currentPreviewOpts.scroll != t.previewOpts.scroll {
|
||||||
scrollPreviewTo(t.evaluateScrollOffset())
|
scrollPreviewTo(t.evaluateScrollOffset())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Resume following
|
||||||
|
t.previewer.following = t.previewOpts.follow
|
||||||
case actNextSelected, actPrevSelected:
|
case actNextSelected, actPrevSelected:
|
||||||
if len(t.selected) > 0 {
|
if len(t.selected) > 0 {
|
||||||
total := t.merger.Length()
|
total := t.merger.Length()
|
||||||
|
Loading…
Reference in New Issue
Block a user