bugfix
This commit is contained in:
parent
68ed2564bf
commit
dd4cc42692
@ -176,7 +176,7 @@ func (ui *UI) renderList() {
|
|||||||
renderLine := func(entry *node.PathNode) string {
|
renderLine := func(entry *node.PathNode) string {
|
||||||
return fmt.Sprintf("%s %10s %10s %s\n", icon_type[entry.GetType()],
|
return fmt.Sprintf("%s %10s %10s %s\n", icon_type[entry.GetType()],
|
||||||
node.FormatSize(entry.GetSize()),
|
node.FormatSize(entry.GetSize()),
|
||||||
utils.FormatProgressBar(entry.GetSize(), nodes[0].GetSize(), 10,
|
FormatProgressBar(entry.GetSize(), nodes[0].GetSize(), 10,
|
||||||
[]string{" ", "▏", "▎", "▍", "▌", "▋", "▊", "▉", "█"}),
|
[]string{" ", "▏", "▎", "▍", "▌", "▋", "▊", "▉", "█"}),
|
||||||
entry.GetPath())
|
entry.GetPath())
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user