open-vault/vendor/github.com/sirupsen/logrus/terminal_bsd.go

11 lines
196 B
Go
Raw Normal View History

2017-07-18 14:15:54 +00:00
// +build darwin freebsd openbsd netbsd dragonfly
// +build !appengine,!gopherjs
2017-07-18 14:15:54 +00:00
package logrus
2017-09-05 22:06:47 +00:00
import "golang.org/x/sys/unix"
2017-07-18 14:15:54 +00:00
2017-09-05 22:06:47 +00:00
const ioctlReadTermios = unix.TIOCGETA
2017-07-18 14:15:54 +00:00
2017-09-05 22:06:47 +00:00
type Termios unix.Termios