load file after shell commands

This commit is contained in:
Gokcehan committed 2016-11-12 14:33:59 +03:00
1 parent 609c637e82
commit bd8f215c55
2 files changed
+2 -2

No files matched your search

+2
View File
@@ -122,6 +122,7 @@ func (app *App) readExpr() chan MultiExpr {
"read-shell-async",
"push":
expr.eval(app, nil)
app.ui.loadFile(app.nav)
app.ui.draw(app.nav)
default:
ch <- MultiExpr{expr, count}
@@ -157,6 +158,7 @@ func (app *App) readExpr() chan MultiExpr {
"read-shell-async",
"push":
expr.eval(app, nil)
app.ui.loadFile(app.nav)
app.ui.draw(app.nav)
default:
ch <- MultiExpr{expr, count}