mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2025-02-02 20:18:31 +00:00
Remove unnecessary map lookup
This commit is contained in:
parent
525040238e
commit
a185593d65
@ -1838,10 +1838,7 @@ func (t *Terminal) Loop() {
|
||||
case actDeselectAll:
|
||||
if t.multi > 0 {
|
||||
for i := 0; i < t.merger.Length() && len(t.selected) > 0; i++ {
|
||||
item := t.merger.Get(i).item
|
||||
if _, found := t.selected[item.Index()]; found {
|
||||
t.deselectItem(item)
|
||||
}
|
||||
t.deselectItem(t.merger.Get(i).item)
|
||||
}
|
||||
req(reqList, reqInfo)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user