summaryrefslogtreecommitdiff
path: root/termSize_windows.go
diff options
context:
space:
mode:
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