m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-14 22:33:47 -05:00

Make deselect-all instantaneous

This commit is contained in:
Junegunn Choi
2017-07-28 13:13:03 +09:00
parent 41f0b2c354
commit 4c5a679066

View File

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