Make deselect-all instantaneous

pull/1000/head
Junegunn Choi 7 years ago
parent 41f0b2c354
commit 4c5a679066
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

@ -1584,9 +1584,8 @@ func (t *Terminal) Loop() {
}
case actDeselectAll:
if t.multi {
for i := 0; i < t.merger.Length(); i++ {
t.deselectItem(t.merger.Get(i).item)
}
t.selected = make(map[int32]selectedItem)
t.version++
req(reqList, reqInfo)
}
case actToggle:

Loading…
Cancel
Save