update preview and fileinfo after toggle

Mentioned in #64.
This commit is contained in:
Gokcehan 2017-03-10 19:00:21 +03:00
parent 3fd1222e4f
commit 249c44739f

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":