summaryrefslogtreecommitdiff
path: root/humanTable.go
diff options
context:
space:
mode:
Diffstat (limited to 'humanTable.go')
-rw-r--r--humanTable.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/humanTable.go b/humanTable.go
index 6c0e803..295478d 100644
--- a/humanTable.go
+++ b/humanTable.go
@@ -42,8 +42,8 @@ func StandardTableRow(sizes []int, args []string) (string, string) {
line := strings.Join(parts, " ")
var small int
- if len(line) > WIDTH {
- small = WIDTH
+ if len(line) > TERMSIZE {
+ small = TERMSIZE
} else {
small = len(line) - 3
}