Skip to content
Myr

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

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 4d22b5a · Browse files · 1 file+3 added−0 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+3 added−0 removed

  • other:+3 added−0 removed

1 file+3 added−0 removed

modified:src/terminal.go+3 added
3318 unmodified lines
3319 // Adjust scroll offset3320 if t.hasPreviewWindow() && currentPreviewOpts.scroll != t.previewOpts.scroll {3321 scrollPreviewTo(t.evaluateScrollOffset())3322 }33233324 // Resume following3325 t.previewer.following = t.previewOpts.follow3326 case actNextSelected, actPrevSelected:3327 if len(t.selected) > 0 {3328 total := t.merger.Length()3329 for i := 1; i < total; i++ {
142 unmodified lines