Skip to content

Commit 2235f2a

Browse files
tysoncungryoppippi
andauthored
fix(terminal): increase minimum width for numeric columns to prevent truncation (#701)
Co-authored-by: ryoppippi <1560508+ryoppippi@users.noreply.github.com>
1 parent 152605b commit 2235f2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/terminal/src/table.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ export class ResponsiveTable {
191191

192192
// Apply minimum widths based on column type
193193
if (align === 'right') {
194-
adjustedWidth = Math.max(adjustedWidth, 10);
194+
adjustedWidth = Math.max(adjustedWidth, 14); // Increased to accommodate large token numbers (e.g., 536,073,421)
195195
}
196196
else if (index === 0) {
197197
adjustedWidth = Math.max(adjustedWidth, 10);

0 commit comments

Comments
 (0)