Some environments might disable access to `/dev/tty`, fall back to '80' in such scenarios. Move to 'cheggaaa/pb' package for better cross platform support on fetching terminal width. Fixes #1891
8 lines
143 B
Go
8 lines
143 B
Go
// +build linux darwin freebsd netbsd openbsd dragonfly
|
|
// +build !appengine
|
|
|
|
package pb
|
|
|
|
import "syscall"
|
|
|
|
const sysIoctl = syscall.SYS_IOCTL
|