From 6d20887b1672dabef20064c7747465df8b132a63 Mon Sep 17 00:00:00 2001 From: Gokcehan Date: Sat, 16 Jun 2018 16:34:14 +0300 Subject: [PATCH] update preview when 'hidden' is changed --- eval.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eval.go b/eval.go index 502e354..8fff73e 100644 --- a/eval.go +++ b/eval.go @@ -54,16 +54,19 @@ func (e *setExpr) eval(app *app, args []string) { app.nav.sort() app.nav.position() app.ui.sort() + app.ui.loadFile(app.nav) case "nohidden": gOpts.sortType.option &= ^hiddenSort app.nav.sort() app.nav.position() app.ui.sort() + app.ui.loadFile(app.nav) case "hidden!": gOpts.sortType.option ^= hiddenSort app.nav.sort() app.nav.position() app.ui.sort() + app.ui.loadFile(app.nav) case "ignorecase": gOpts.ignorecase = true case "noignorecase":