diff options
| author | Jeff Carr <[email protected]> | 2025-09-26 13:05:00 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-26 13:05:00 -0500 |
| commit | 23a1400692b1cc073945e6243fa8fd2b8c8bd231 (patch) | |
| tree | 017131c67292a8e1c58e9418545ebeed5ec32e29 /termSize.go | |
| parent | 4d923f942fa406b253d5414e0b8d39a3a6012c18 (diff) | |
actually get the terminal widthv0.0.10
Diffstat (limited to 'termSize.go')
| -rw-r--r-- | termSize.go | 1 |
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 |
