summaryrefslogtreecommitdiff
path: root/termSize_windows.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-14 07:52:32 -0500
committerJeff Carr <[email protected]>2025-10-14 07:52:32 -0500
commitbf5891a4c983fd4300ed57d1e42a0e0dca72fea4 (patch)
tree4bfbad9b5f08e9c33f01c903e2792c23b68a9714 /termSize_windows.go
parent92e9b066f424c8e8055c01365bbd5e45e3c4f1b4 (diff)
no using log herev0.0.22
Diffstat (limited to 'termSize_windows.go')
-rw-r--r--termSize_windows.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/termSize_windows.go b/termSize_windows.go
index 0702792..a70c1c8 100644
--- a/termSize_windows.go
+++ b/termSize_windows.go
@@ -1,9 +1,9 @@
package cobol
import (
+ "fmt"
"os"
- "go.wit.com/log"
"golang.org/x/term"
)
@@ -16,7 +16,7 @@ func osTerminalWidth() (int, bool) {
WIDTH, _, err = term.GetSize(int(os.Stdout.Fd()))
if err != nil {
// If we can't get the size for some reason, fall back to the default.
- log.Printf("could not get terminal size: %v", err)
+ fmt.Printf("could not get terminal size: %v", err)
return WIDTH, false
}
return WIDTH, true