add command counts

This commit is contained in:
Gokcehan committed 2016-09-09 01:03:25 +03:00
1 parent a31ce17b90
commit ee0f931db8
2 files changed
+41 -14

No files matched your search

+4 -2
View File
@@ -61,11 +61,13 @@ func (app *App) handleInp() {
return
}
e := app.ui.getExpr(app.nav)
e, c := app.ui.getExpr(app.nav)
if e == nil {
continue
}
e.eval(app, nil)
for i := 0; i < c; i++ {
e.eval(app, nil)
}
if gExitFlag {
continue
}