Fix regression of select-all

pull/1758/head
Junegunn Choi 5 years ago
parent 73c0a645e0
commit deccf20a35
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

@ -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}

Loading…
Cancel
Save