Skip to content

Commit

Permalink
fix: broken ansi colors on cli table
Browse files Browse the repository at this point in the history
  • Loading branch information
typpo committed Mar 22, 2024
1 parent 894e000 commit bbb0157
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export function generateTable(summary: EvaluateSummary, tableCellMaxLength = 250
].map((h) => ellipsize(h, tableCellMaxLength)),
colWidths: Array(headLength).fill(Math.floor(maxWidth / headLength)),
wordWrap: true,
wrapOnWordBoundary: false,
wrapOnWordBoundary: true, // if false, ansi colors break
style: {
head: ['blue', 'bold'],
},
Expand Down

0 comments on commit bbb0157

Please sign in to comment.