implement builtin copy operation

Related #61 and #113
This commit is contained in:
Gokcehan committed 2019-02-26 20:12:13 +03:00
1 parent fd1af47233
commit d6e9aece51
5 files changed
+190 -13

No files matched your search

+1 -1
View File
@@ -612,7 +612,7 @@ func (e *callExpr) eval(app *app, args []string) {
case "paste":
if cmd, ok := gOpts.cmds["paste"]; ok {
cmd.eval(app, e.args)
} else if err := app.nav.paste(); err != nil {
} else if err := app.nav.paste(app.ui); err != nil {
app.ui.printf("paste: %s", err)
return
}