diff options
author | Tulir Asokan <tulir@maunium.net> | 2018-04-30 10:55:37 +0300 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2018-04-30 10:55:37 +0300 |
commit | e48ff5bea4725d39818f24fa76b5ae74971f23a3 (patch) | |
tree | 549b8688ef59f7096a20544cd01ad75ec111c0e4 /vendor/maunium.net/go/tview/table.go | |
parent | 576bab9e2e9589942d4cac8742fa1b54e8b237f9 (diff) |
Update dependencies
Diffstat (limited to 'vendor/maunium.net/go/tview/table.go')
-rw-r--r-- | vendor/maunium.net/go/tview/table.go | 2 |
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 } |