2017-08-03 18:07:30 +00:00
|
|
|
// +build darwin freebsd openbsd netbsd dragonfly
|
2018-10-06 18:08:21 +00:00
|
|
|
// +build !appengine,!js
|
2017-08-03 18:07:30 +00:00
|
|
|
|
|
|
|
package logrus
|
|
|
|
|
2018-10-06 18:08:21 +00:00
|
|
|
import (
|
|
|
|
"io"
|
|
|
|
|
|
|
|
"golang.org/x/sys/unix"
|
|
|
|
)
|
2017-08-03 18:07:30 +00:00
|
|
|
|
2018-05-05 14:57:47 +00:00
|
|
|
const ioctlReadTermios = unix.TIOCGETA
|
2017-08-03 18:07:30 +00:00
|
|
|
|
2018-05-05 14:57:47 +00:00
|
|
|
type Termios unix.Termios
|
2018-10-06 18:08:21 +00:00
|
|
|
|
|
|
|
func initTerminal(w io.Writer) {
|
|
|
|
}
|