update preview and fileinfo after toggle

Mentioned in #64.
This commit is contained in:
Gokcehan committed 2017-03-10 19:00:21 +03:00
1 parent 3fd1222e4f
commit 249c44739f
1 file changed
+2
+2
View File
@@ -294,6 +294,8 @@ func (e *callExpr) eval(app *app, args []string) {
app.ui.loadFileInfo(app.nav)
case "toggle":
app.nav.toggle()
app.ui.loadFile(app.nav)
app.ui.loadFileInfo(app.nav)
case "invert":
app.nav.invert()
case "yank":