update preview after shell commands

Mentioned in #64 and #71.
This commit is contained in:
Gokcehan committed 2017-04-09 18:18:02 +03:00
1 parent 79728a93da
commit 52fbe460b7
2 files changed
+3 -2

No files matched your search

+3
View File
@@ -160,4 +160,7 @@ func (app *app) runShell(s string, args []string, wait bool, async bool) {
log.Print(msg)
}
}
app.ui.loadFile(app.nav)
app.ui.loadFileInfo(app.nav)
}
-2
View File
@@ -452,8 +452,6 @@ func (e *callExpr) eval(app *app, args []string) {
default:
log.Printf("entering unknown execution prefix: %q", app.ui.cmdpref)
}
app.ui.loadFile(app.nav)
app.ui.loadFileInfo(app.nav)
app.ui.cmdpref = ""
case "cmd-delete-back":
if len(app.ui.cmdlacc) > 0 {