Skip to content

Commit

Permalink
remove yank/delete messages
Browse files Browse the repository at this point in the history
Mentioned in #13.
  • Loading branch information
gokcehan committed Nov 10, 2016
1 parent 3b5759e commit d151334
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions eval.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit d151334

Please sign in to comment.