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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user