update preview when 'hidden' is changed

This commit is contained in:
Gokcehan 2018-06-16 16:34:14 +03:00
parent 078dc47e34
commit 6d20887b16

View File

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