summaryrefslogtreecommitdiff
path: root/termSize.go
diff options
context:
space:
mode:
Diffstat (limited to 'termSize.go')
-rw-r--r--termSize.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/termSize.go b/termSize.go
index cc9d5af..85594e0 100644
--- a/termSize.go
+++ b/termSize.go
@@ -10,6 +10,7 @@ import (
)
var WIDTH int = 120
+var TERMSIZE int = 80
// getTerminalWidth returns the width of the active terminal.
// If the output is not an interactive terminal (e.g., it's being piped to a file