m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-16 07:13:48 -05:00

Fix regression of select-all

This commit is contained in:
Junegunn Choi
2019-11-11 23:31:31 +09:00
parent 73c0a645e0
commit deccf20a35

View File

@@ -1429,7 +1429,7 @@ func (t *Terminal) selectItem(item *Item) bool {
return false return false
} }
if _, found := t.selected[item.Index()]; found { if _, found := t.selected[item.Index()]; found {
return false return true
} }
t.selected[item.Index()] = selectedItem{time.Now(), item} t.selected[item.Index()] = selectedItem{time.Now(), item}