added a count field to listExpr and toggle now ignores count (#394)

This commit is contained in:
gotroyb127 authored and GitHub committed 2020-07-03 18:29:55 +03:00
1 parent fd73a53f84
commit 4d3e1cfd6e
5 files changed
+30 -27

No files matched your search

+2
View File
@@ -894,6 +894,8 @@ func (ui *ui) readEvent(ch chan<- expr, ev termbox.Event) {
expr := gOpts.keys[string(ui.keyAcc)]
if e, ok := expr.(*callExpr); ok {
e.count = count
} else if e, ok := expr.(*listExpr); ok {
e.count = count
}
ch <- expr
ui.keyAcc = nil