Skip to content

Commit c3a7eac

Browse files
committed
revert header
1 parent 9abea64 commit c3a7eac

File tree

1 file changed

+4
-25
lines changed

1 file changed

+4
-25
lines changed

internal/cmd/root.go

Lines changed: 4 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -454,31 +454,10 @@ func displayTableStats(stats *StatsCollector) {
454454
}
455455
}
456456

457-
// ANSI color helpers
458-
bold := "\033[1m"
459-
reset := "\033[0m"
460-
blue := "\033[34m"
461-
green := "\033[32m"
462-
yellow := "\033[33m"
463-
464-
colorize := func(s, color string) string {
465-
if noColor {
466-
return s
467-
}
468-
return color + s + reset
469-
}
470-
colorizeBold := func(s, color string) string {
471-
if noColor {
472-
return s
473-
}
474-
return bold + color + s + reset
475-
}
476-
477-
// Build header row with correct alignment and color, matching body formatting
478-
headRepo := fmt.Sprintf("%-*s", repoCol, colorizeBold("Repository", blue))
479-
headCombined := fmt.Sprintf("%*s", colWidths[1], colorizeBold("PRs Combined", blue))
480-
headSkipped := fmt.Sprintf("%-*s", colWidths[2], colorizeBold("Skipped", blue))
481-
headStatus := fmt.Sprintf("%-*s", colWidths[3], colorizeBold("Status", blue))
457+
headRepo := fmt.Sprintf("%-*s", repoCol, "Repository")
458+
headCombined := fmt.Sprintf("%*s", colWidths[1], "PRs Combined")
459+
headSkipped := fmt.Sprintf("%-*s", colWidths[2], "Skipped")
460+
headStatus := fmt.Sprintf("%-*s", colWidths[3], "Status")
482461
head := fmt.Sprintf(
483462
"│ %-*s │ %s │ %s │ %s │",
484463
repoCol, headRepo,

0 commit comments

Comments
 (0)