Skip to content

Commit b65c702

Browse files
committed
fix: use single-char ellipsis in commitments truncate() to prevent table misalignment
Fixes #95921
1 parent 0fed640 commit b65c702

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/commands/commitments.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const STATUS_VALUES = new Set<CommitmentStatus>([
2424
]);
2525

2626
function truncate(value: string, maxChars: number): string {
27-
return value.length <= maxChars ? value : `${value.slice(0, maxChars - 1)}...`;
27+
return value.length <= maxChars ? value : `${value.slice(0, maxChars - 1)}…`;
2828
}
2929

3030
function safe(value: string): string {

0 commit comments

Comments
 (0)