This commit is contained in:
Gokcehan committed 2019-02-26 21:27:04 +03:00
1 parent 728c5fbb2c
commit 599ac11f26
4 files changed
+10 -10

No files matched your search

+5 -5
View File
@@ -443,7 +443,7 @@ func insert(app *app, arg string) {
return
}
app.nav.unselect()
if err := sendRemote("send load"); err != nil {
if err := remote("send load"); err != nil {
app.ui.printf("delete: %s", err)
}
}
@@ -597,7 +597,7 @@ func (e *callExpr) eval(app *app, args []string) {
return
}
app.nav.unselect()
if err := sendRemote("send sync"); err != nil {
if err := remote("send sync"); err != nil {
app.ui.printf("copy: %s", err)
}
case "cut":
@@ -606,7 +606,7 @@ func (e *callExpr) eval(app *app, args []string) {
return
}
app.nav.unselect()
if err := sendRemote("send sync"); err != nil {
if err := remote("send sync"); err != nil {
app.ui.printf("cut: %s", err)
}
case "paste":
@@ -620,7 +620,7 @@ func (e *callExpr) eval(app *app, args []string) {
if cmd, ok := gOpts.cmds["delete"]; ok {
cmd.eval(app, e.args)
app.nav.unselect()
if err := sendRemote("send load"); err != nil {
if err := remote("send load"); err != nil {
app.ui.printf("delete: %s", err)
}
} else {
@@ -635,7 +635,7 @@ func (e *callExpr) eval(app *app, args []string) {
app.ui.printf("clear: %s", err)
return
}
if err := sendRemote("send sync"); err != nil {
if err := remote("send sync"); err != nil {
app.ui.printf("clear: %s", err)
}
case "draw":