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
7 lines
160 B
Go
7 lines
160 B
Go
// +build linux solaris
|
|
// +build !appengine
|
|
|
|
package pb
|
|
|
|
const ioctlReadTermios = 0x5401 // syscall.TCGETS
|
|
const ioctlWriteTermios = 0x5402 // syscall.TCSETS
|