2
0
mirror of https://github.com/junegunn/fzf synced 2024-11-05 00:00:27 +00: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
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

View File

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