From d3d9690d554fb305637c121bc7018b3a5da8ab3b Mon Sep 17 00:00:00 2001 From: tickstep studio team Date: Thu, 5 Feb 2026 20:14:56 +0800 Subject: [PATCH] beautify download ui dashboard --- internal/ui/download_dashboard.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/ui/download_dashboard.go b/internal/ui/download_dashboard.go index c2b4645..29d5e74 100644 --- a/internal/ui/download_dashboard.go +++ b/internal/ui/download_dashboard.go @@ -431,8 +431,8 @@ func (db *DownloadDashboard) headerLines(snapshot dashboardSnapshot, innerWidth } } - line1 := fmt.Sprintf("总速度: %s | 文件: %d/%d | 失败: %d | 已用时间: %s | 剩余时间: %s | 状态: %s", - utils.FormatSpeedFixedWidth(speed, 11), doneFiles, totalFiles, failedFiles, formatDurationShort(elapsed), left, status) + line1 := fmt.Sprintf("总速度: %s | 文件: %d/%d | 失败: %d | 状态: %s | 已用时间: %s | 剩余时间: %s", + utils.FormatSpeedFixedWidth(speed, 11), doneFiles, totalFiles, failedFiles, status, formatDurationShort(elapsed), left) line1 = fitLine(line1, innerWidth) progressPct := 0.0