2018-01-22 11:16:03 +00:00
|
|
|
// +build darwin freebsd openbsd netbsd dragonfly
|
2018-10-02 14:28:04 +00:00
|
|
|
// +build !appengine,!js
|
2018-01-22 11:16:03 +00:00
|
|
|
|
|
|
|
package logrus
|
|
|
|
|
2018-10-02 14:28:04 +00:00
|
|
|
import (
|
|
|
|
"io"
|
|
|
|
|
|
|
|
"golang.org/x/sys/unix"
|
|
|
|
)
|
2018-01-22 11:16:03 +00:00
|
|
|
|
|
|
|
const ioctlReadTermios = unix.TIOCGETA
|
|
|
|
|
|
|
|
type Termios unix.Termios
|
2018-10-02 14:28:04 +00:00
|
|
|
|
|
|
|
func initTerminal(w io.Writer) {
|
|
|
|
}
|