Skip to content
Myr

Prevent start:track-current from being disabled

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

# track-current state can be immediately disabled fzf --sync --bind 'start:track-current'

authored by Junegunn Choi · committed by Junegunn Choi · parent 923c3a8 · Browse files · 1 file+1 added−1 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−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/terminal.go+1 added-1 removed
4636 unmodified lines
4637 t.printList()4638 currentIndex := t.currentIndex()4639 focusChanged := focusedIndex != currentIndex4640 info := false4641 if focusChanged && t.track == trackCurrent {4641 if focusChanged && focusedIndex >= 0 && t.track == trackCurrent {4642 t.track = trackDisabled4643 info = true4644 }4645 if (t.hasFocusActions || t.infoCommand != "") && focusChanged && currentIndex != t.lastFocus {
1663 unmodified lines