Implement directory count info (#85)

This commit is contained in:
Karol Woźniak authored and gokcehan committed 2017-06-03 14:12:43 +03:00
1 parent 9962b378a8
commit fe05105c88
7 files changed
+38 -1

No files matched your search

+6
View File
@@ -11,6 +11,12 @@ import (
func (e *setExpr) eval(app *app, args []string) {
switch e.opt {
case "dircounts":
gOpts.dircounts = true
case "nodircounts":
gOpts.dircounts = false
case "dircounts!":
gOpts.dircounts = !gOpts.dircounts
case "dirfirst":
gOpts.dirfirst = true
app.nav.renew(app.nav.height)