From 23a1400692b1cc073945e6243fa8fd2b8c8bd231 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 26 Sep 2025 13:05:00 -0500 Subject: actually get the terminal width --- termSize.go | 1 + 1 file changed, 1 insertion(+) (limited to 'termSize.go') 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 -- cgit v1.2.3