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_linux.go | |
| parent | 92e9b066f424c8e8055c01365bbd5e45e3c4f1b4 (diff) | |
no using log herev0.0.22
Diffstat (limited to 'termSize_linux.go')
| -rw-r--r-- | termSize_linux.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/termSize_linux.go b/termSize_linux.go index 34201ac..392efa3 100644 --- a/termSize_linux.go +++ b/termSize_linux.go @@ -1,9 +1,9 @@ package cobol import ( + "fmt" "os" - "go.wit.com/log" "golang.org/x/term" ) @@ -21,7 +21,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 @@ -38,7 +38,7 @@ func ttyGetSize() (int, int, error) { } w, h, err := term.GetSize(int(tty.Fd())) if err != nil { - log.Info("linux.osTerminalWidth tty.Fd() err", w, h, err) + fmt.Println("linux.osTerminalWidth tty.Fd() err", w, h, err) } return w, h, err } |
