aboutsummaryrefslogtreecommitdiff
path: root/cmd/prognosis/term_other.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/prognosis/term_other.go')
-rw-r--r--cmd/prognosis/term_other.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmd/prognosis/term_other.go b/cmd/prognosis/term_other.go
new file mode 100644
index 0000000..d1263f0
--- /dev/null
+++ b/cmd/prognosis/term_other.go
@@ -0,0 +1,6 @@
+//go:build !(linux || darwin || freebsd || netbsd || openbsd)
+
+package main
+
+// termCols has no portable implementation here; COLUMNS or the default is used.
+func termCols() (int, bool) { return 0, false }