use fixed length file sizes for info line

Mentioned in #49.
This commit is contained in:
Gokcehan 2016-12-19 22:08:53 +03:00
parent 977f6e287d
commit 4f9515564d

2
ui.go
View File

@ -421,7 +421,7 @@ func (ui *ui) loadFileInfo(nav *nav) {
return
}
ui.message = fmt.Sprintf("%v %v %v", curr.Mode(), humanize(curr.Size()), curr.ModTime().Format(gOpts.timefmt))
ui.message = fmt.Sprintf("%v %4s %v", curr.Mode(), humanize(curr.Size()), curr.ModTime().Format(gOpts.timefmt))
}
func (ui *ui) loadFile(nav *nav) {