From d151334f8f9eee2203d0290c0539cc225ecd1c1b Mon Sep 17 00:00:00 2001 From: Gokcehan Date: Thu, 10 Nov 2016 23:47:07 +0300 Subject: [PATCH] remove yank/delete messages Mentioned in #13. --- eval.go | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/eval.go b/eval.go index 6aa86f9..7f32267 100644 --- a/eval.go +++ b/eval.go @@ -291,11 +291,6 @@ func (e *CallExpr) eval(app *App, args []string) { log.Printf(msg) return } - if len(app.nav.marks) == 0 { - app.ui.message = "file saved for copy" - } else { - app.ui.message = fmt.Sprintf("%d files saved for copy", len(app.nav.marks)) - } app.nav.marks = make(map[string]bool) if err := sendServer("send sync"); err != nil { msg := fmt.Sprintf("yank: %s", err) @@ -309,11 +304,6 @@ func (e *CallExpr) eval(app *App, args []string) { log.Printf(msg) return } - if len(app.nav.marks) == 0 { - app.ui.message = "file saved for move" - } else { - app.ui.message = fmt.Sprintf("%d files saved for move", len(app.nav.marks)) - } app.nav.marks = make(map[string]bool) if err := sendServer("send sync"); err != nil { msg := fmt.Sprintf("delete: %s", err)