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

chore: auto format code

This commit is contained in:
github-actions[bot]
2025-12-10 03:53:17 +00:00
parent 2ac7baae26
commit 5b73e4ffad
4 changed files with 10 additions and 7 deletions

View File

@@ -109,7 +109,7 @@ func getMoleFrame(animFrame int, termWidth int) string {
var body []string
var bodyIdx int
isChristmas := isChristmasSeason()
if isChristmas {
bodyIdx = animFrame % len(moleBodyWithHat)
body = moleBodyWithHat[bodyIdx]
@@ -138,7 +138,7 @@ func getMoleFrame(animFrame int, termWidth int) string {
padding := strings.Repeat(" ", pos)
var lines []string
if isChristmas {
// Render with red hat on first 3 lines
for i, line := range body {
@@ -153,7 +153,7 @@ func getMoleFrame(animFrame int, termWidth int) string {
lines = append(lines, padding+line)
}
}
return strings.Join(lines, "\n")
}