From 249c44739fcddfd0528fca214e70986348041c0c Mon Sep 17 00:00:00 2001 From: Gokcehan Date: Fri, 10 Mar 2017 19:00:21 +0300 Subject: [PATCH] update preview and fileinfo after toggle Mentioned in #64. --- eval.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eval.go b/eval.go index f702a52..cfead6b 100644 --- a/eval.go +++ b/eval.go @@ -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":