This commit is contained in:
Gokcehan committed 2016-10-02 01:19:30 +03:00
1 parent dbb4220084
commit 7a851f6c72
2 files changed
+2 -4

No files matched your search

+1 -1
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)
+1 -3
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