diff options
| author | Jeff Carr <[email protected]> | 2025-10-14 07:52:32 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-14 07:52:32 -0500 |
| commit | bf5891a4c983fd4300ed57d1e42a0e0dca72fea4 (patch) | |
| tree | 4bfbad9b5f08e9c33f01c903e2792c23b68a9714 /termSize_darwin.go | |
| parent | 92e9b066f424c8e8055c01365bbd5e45e3c4f1b4 (diff) | |
no using log herev0.0.22
Diffstat (limited to 'termSize_darwin.go')
| -rw-r--r-- | termSize_darwin.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/termSize_darwin.go b/termSize_darwin.go index 0702792..a70c1c8 100644 --- a/termSize_darwin.go +++ b/termSize_darwin.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 |
