1 parent
6c9f8746c0
commit
263c9d9fef
1 file changed
+3
-1
@@ -365,7 +365,9 @@ func (e *callExpr) eval(app *app, args []string) {
|
|||||||
log.Printf(msg)
|
log.Printf(msg)
|
||||||
}
|
}
|
||||||
case "put":
|
case "put":
|
||||||
if err := app.nav.put(); err != nil {
|
if cmd, ok := gOpts.cmds["put"]; ok {
|
||||||
|
cmd.eval(app, e.args)
|
||||||
|
} else if err := app.nav.put(); err != nil {
|
||||||
msg := fmt.Sprintf("put: %s", err)
|
msg := fmt.Sprintf("put: %s", err)
|
||||||
app.ui.message = msg
|
app.ui.message = msg
|
||||||
log.Printf(msg)
|
log.Printf(msg)
|
||||||
|
|||||||
Reference in new issue
Block a user