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
9 lines
187 B
Go
9 lines
187 B
Go
// +build darwin freebsd netbsd openbsd dragonfly
|
|
// +build !appengine
|
|
|
|
package pb
|
|
|
|
import "syscall"
|
|
|
|
const ioctlReadTermios = syscall.TIOCGETA
|
|
const ioctlWriteTermios = syscall.TIOCSETA
|