fix regular keys in push commands

Related #445
This commit is contained in:
Gokcehan committed 2020-09-04 21:25:19 +03:00
1 parent 4f5b4e6dbf
commit b40ebdcb33
2 files changed
+16 -15

No files matched your search

+2 -2
View File
@@ -1012,8 +1012,8 @@ func (e *callExpr) eval(app *app, args []string) {
return
}
log.Println("pushing keys", e.args[0])
for _, key := range splitKeys(e.args[0]) {
app.ui.keyChan <- key
for _, val := range splitKeys(e.args[0]) {
app.ui.keyChan <- val
}
case "cmd-insert":
if len(e.args) == 0 {