This commit is contained in:
Gokcehan 2016-10-02 01:14:55 +03:00
parent dbb4220084
commit 7a851f6c72
2 changed files with 2 additions and 4 deletions

2
nav.go
View File

@ -131,7 +131,7 @@ func newDir(path string) *Dir {
func (dir *Dir) renew(height int) {
fi, err := ioutil.ReadDir(dir.path)
if err != nil {
log.Print("reading directory: %s", err)
log.Printf("reading directory: %s", err)
}
fi = organizeFiles(fi)

View File

@ -1,6 +1,6 @@
package main
type Opts struct {
var gOpts struct {
hidden bool
preview bool
scrolloff int
@ -15,8 +15,6 @@ type Opts struct {
cmds map[string]Expr
}
var gOpts Opts
func init() {
gOpts.hidden = false
gOpts.preview = true