1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-04 16:49:41 +00:00

Optimize the display effect

This commit is contained in:
Tw93
2025-12-10 10:42:33 +08:00
parent 763accd0b0
commit 161be5b951
4 changed files with 9 additions and 7 deletions

View File

@@ -201,7 +201,7 @@ func renderHeader(m MetricsSnapshot, errMsg string, animFrame int, termWidth int
if errMsg != "" {
return lipgloss.JoinVertical(lipgloss.Left, headerLine, "", mole, dangerStyle.Render(errMsg), "")
}
return headerLine + "\n\n" + mole
return headerLine + "\n" + mole
}
func getScoreStyle(score int) lipgloss.Style {