update preview when 'hidden' is changed
This commit is contained in:
parent
078dc47e34
commit
6d20887b16
3
eval.go
3
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":
|
||||
|
Loading…
Reference in New Issue
Block a user