find hidden parents when 'hidden' is changed
This commit is contained in:
parent
8070cd82b7
commit
078dc47e34
3
eval.go
3
eval.go
@ -52,14 +52,17 @@ func (e *setExpr) eval(app *app, args []string) {
|
|||||||
case "hidden":
|
case "hidden":
|
||||||
gOpts.sortType.option |= hiddenSort
|
gOpts.sortType.option |= hiddenSort
|
||||||
app.nav.sort()
|
app.nav.sort()
|
||||||
|
app.nav.position()
|
||||||
app.ui.sort()
|
app.ui.sort()
|
||||||
case "nohidden":
|
case "nohidden":
|
||||||
gOpts.sortType.option &= ^hiddenSort
|
gOpts.sortType.option &= ^hiddenSort
|
||||||
app.nav.sort()
|
app.nav.sort()
|
||||||
|
app.nav.position()
|
||||||
app.ui.sort()
|
app.ui.sort()
|
||||||
case "hidden!":
|
case "hidden!":
|
||||||
gOpts.sortType.option ^= hiddenSort
|
gOpts.sortType.option ^= hiddenSort
|
||||||
app.nav.sort()
|
app.nav.sort()
|
||||||
|
app.nav.position()
|
||||||
app.ui.sort()
|
app.ui.sort()
|
||||||
case "ignorecase":
|
case "ignorecase":
|
||||||
gOpts.ignorecase = true
|
gOpts.ignorecase = true
|
||||||
|
Loading…
Reference in New Issue
Block a user