aboutsummaryrefslogtreecommitdiff
path: root/vendor/maunium.net/go/tview/table.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/maunium.net/go/tview/table.go')
-rw-r--r--vendor/maunium.net/go/tview/table.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/maunium.net/go/tview/table.go b/vendor/maunium.net/go/tview/table.go
index 4f2336f..0446c6a 100644
--- a/vendor/maunium.net/go/tview/table.go
+++ b/vendor/maunium.net/go/tview/table.go
@@ -590,7 +590,7 @@ ColumnLoop:
expansion := 0
for _, row := range rows {
if cell := getCell(row, column); cell != nil {
- cellWidth := StringWidth(cell.Text)
+ _, _, _, _, cellWidth := decomposeString(cell.Text)
if cell.MaxWidth > 0 && cell.MaxWidth < cellWidth {
cellWidth = cell.MaxWidth
}