2017-05-04 10:22:55 +00:00
|
|
|
// Based on ssh/terminal:
|
|
|
|
// Copyright 2013 The Go Authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
2018-10-08 11:25:24 +00:00
|
|
|
// +build !appengine,!js
|
2017-05-04 10:22:55 +00:00
|
|
|
|
|
|
|
package logrus
|
|
|
|
|
2018-10-08 11:25:24 +00:00
|
|
|
import (
|
|
|
|
"io"
|
|
|
|
|
|
|
|
"golang.org/x/sys/unix"
|
|
|
|
)
|
2017-05-04 10:22:55 +00:00
|
|
|
|
2017-10-10 08:14:44 +00:00
|
|
|
const ioctlReadTermios = unix.TCGETS
|
2017-05-04 10:22:55 +00:00
|
|
|
|
2017-10-10 08:14:44 +00:00
|
|
|
type Termios unix.Termios
|
2018-10-08 11:25:24 +00:00
|
|
|
|
|
|
|
func initTerminal(w io.Writer) {
|
|
|
|
}
|