mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-14 06:13:47 -05:00
Prevent start:track-current from being disabled
# track-current state can be immediately disabled fzf --sync --bind 'start:track-current'
This commit is contained in:
@@ -4638,7 +4638,7 @@ func (t *Terminal) Loop() error {
|
||||
currentIndex := t.currentIndex()
|
||||
focusChanged := focusedIndex != currentIndex
|
||||
info := false
|
||||
if focusChanged && t.track == trackCurrent {
|
||||
if focusChanged && focusedIndex >= 0 && t.track == trackCurrent {
|
||||
t.track = trackDisabled
|
||||
info = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user