diff options
| author | historia <[not public]> | 2026-06-29 04:41:40 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-06-29 04:41:40 -0400 |
| commit | 71ce47ca37566be8dc390434df4cd01422298094 (patch) | |
| tree | c688dc5ff84af8c03a5c825dd6a3926281a8cae3 /internal/ui | |
| parent | 0fe67cfd5def4ac3e919fd611fe5acc55ca2d253 (diff) | |
| download | thehouseoficarus-71ce47ca37566be8dc390434df4cd01422298094.tar.gz | |
fix: long fields truncated better in tables
Diffstat (limited to 'internal/ui')
| -rw-r--r-- | internal/ui/table.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/ui/table.go b/internal/ui/table.go index 5061417..5ef2c99 100644 --- a/internal/ui/table.go +++ b/internal/ui/table.go @@ -83,11 +83,11 @@ func (t *Table) Render(unicode bool, maxWidth int) []string { colWidths[last] = budget if len(t.Columns) > last { - t.Columns[last] = color.TruncateVisible(t.Columns[last], budget) + t.Columns[last] = color.TruncateVisible(t.Columns[last], budget, unicode) } for i := range t.Rows { if len(t.Rows[i]) > last { - t.Rows[i][last] = color.TruncateVisible(t.Rows[i][last], budget) + t.Rows[i][last] = color.TruncateVisible(t.Rows[i][last], budget, unicode) } } } |
