Asynchronous delete (#238)

* Asynchronous deletion, similar to moving

* Reversed some sloppy new lines from previous commit

* Move delete operations to delete.go

* Simplify to use RemoveAll before

* Send errors directly to ui.exprChan directly
This commit is contained in:
Juris Arturs Majors authored and gokcehan committed 2019-12-02 14:27:58 +03:00
1 parent 8327505398
commit f76bf30f65
3 files changed
+24 -5

No files matched your search

+1 -1
View File
@@ -470,7 +470,7 @@ func insert(app *app, arg string) {
normal(app)
if arg == "y" {
if err := app.nav.del(); err != nil {
if err := app.nav.del(app.ui); err != nil {
app.ui.echoerrf("delete: %s", err)
return
}