From dd4cc4269215b7fb82d809a6e5fc68b1f891407d Mon Sep 17 00:00:00 2001 From: ZZY <2450266535@qq.com> Date: Mon, 10 Feb 2025 16:33:44 +0800 Subject: [PATCH] bugfix --- tui/tui.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tui/tui.go b/tui/tui.go index ab79469..b8775f1 100644 --- a/tui/tui.go +++ b/tui/tui.go @@ -176,7 +176,7 @@ func (ui *UI) renderList() { renderLine := func(entry *node.PathNode) string { return fmt.Sprintf("%s %10s %10s %s\n", icon_type[entry.GetType()], node.FormatSize(entry.GetSize()), - utils.FormatProgressBar(entry.GetSize(), nodes[0].GetSize(), 10, + FormatProgressBar(entry.GetSize(), nodes[0].GetSize(), 10, []string{" ", "▏", "▎", "▍", "▌", "▋", "▊", "▉", "█"}), entry.GetPath()) }