Skip to content
Myr

Make deselect-all instantaneous

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent 41f0b2c · Browse files · 1 file+2 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−3 removed

  • other:+2 added−3 removed

1 file+2 added−3 removed

modified:src/terminal.go+2 added-3 removed
1582 unmodified lines
1583 req(reqList, reqInfo)1584 }1585 case actDeselectAll:1586 if t.multi {1587 for i := 0; i < t.merger.Length(); i++ {1588 t.deselectItem(t.merger.Get(i).item)1589 }1587 t.selected = make(map[int32]selectedItem)1588 t.version++1589 req(reqList, reqInfo)1590 }1591 case actToggle:1592 if t.multi && t.merger.Length() > 0 {
260 unmodified lines