aboutsummaryrefslogtreecommitdiff
path: root/internal/cli/termwidth_other.go
blob: a44fc70989f6550b1b453617dae0d077ae3b8b51 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
//go:build !unix

package cli

import "os"

// ttyWidth has no portable implementation outside unix; callers fall back
// to the $COLUMNS env var or a sane default.
func ttyWidth(f *os.File) int {
	return 0
}