2015-06-26 22:27:29 +03:00
|
|
|
// +build darwin freebsd openbsd netbsd dragonfly
|
2018-06-21 07:39:23 +03:00
|
|
|
// +build !appengine,!js
|
2015-06-26 22:27:29 +03:00
|
|
|
|
2015-01-06 16:44:32 +03:00
|
|
|
package logrus
|
|
|
|
|
2018-04-03 05:55:52 +03:00
|
|
|
import (
|
|
|
|
"io"
|
|
|
|
|
|
|
|
"golang.org/x/sys/unix"
|
|
|
|
)
|
2015-01-06 16:44:32 +03:00
|
|
|
|
2017-07-26 11:15:24 +03:00
|
|
|
const ioctlReadTermios = unix.TIOCGETA
|
2015-01-06 16:44:32 +03:00
|
|
|
|
2017-07-26 11:15:24 +03:00
|
|
|
type Termios unix.Termios
|
2018-04-03 05:47:29 +03:00
|
|
|
|
2018-04-03 05:55:52 +03:00
|
|
|
func initTerminal(w io.Writer) {
|
2018-04-03 05:47:29 +03:00
|
|
|
}
|