mirror of
https://github.com/minio/minio.git
synced 2024-12-26 23:25:54 -05:00
4ab57f7d60
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
10 lines
187 B
Go
10 lines
187 B
Go
// +build darwin freebsd netbsd openbsd dragonfly
|
|
// +build !appengine
|
|
|
|
package pb
|
|
|
|
import "syscall"
|
|
|
|
const ioctlReadTermios = syscall.TIOCGETA
|
|
const ioctlWriteTermios = syscall.TIOCSETA
|