File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -480,9 +480,21 @@ func displayTableStats(stats *StatsCollector) {
480
480
colWidths [2 ], colorizeBold ("Skipped" , blue ),
481
481
colWidths [3 ], colorizeBold ("Status" , blue ),
482
482
)
483
+ // Fix header pipe padding: ensure each header cell is padded to match the body
484
+ headRunes := []rune (head )
485
+ // Replace single spaces before and after pipes with nothing, then add a single space after each pipe
486
+ headFixed := ""
487
+ for i := 0 ; i < len (headRunes ); i ++ {
488
+ headFixed += string (headRunes [i ])
489
+ if headRunes [i ] == '│' && i + 1 < len (headRunes ) && headRunes [i + 1 ] != ' ' {
490
+ headFixed += " "
491
+ }
492
+ }
493
+ // Remove any double spaces
494
+ headFixed = strings .ReplaceAll (headFixed , " " , " " )
483
495
484
496
fmt .Println (top )
485
- fmt .Println (head )
497
+ fmt .Println (headFixed )
486
498
fmt .Println (sep )
487
499
488
500
for _ , repoStat := range stats .PerRepoStats {
You can’t perform that action at this time.
0 commit comments