2017-06-24 18:25:26 +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-08-19 22:34:53 +00:00
|
|
|
// +build !appengine,!gopherjs
|
2017-06-24 18:25:26 +00:00
|
|
|
|
|
|
|
package logrus
|
|
|
|
|
2017-10-20 09:38:03 +00:00
|
|
|
import "golang.org/x/sys/unix"
|
2017-06-24 18:25:26 +00:00
|
|
|
|
2017-10-20 09:38:03 +00:00
|
|
|
const ioctlReadTermios = unix.TCGETS
|
2017-06-24 18:25:26 +00:00
|
|
|
|
2017-10-20 09:38:03 +00:00
|
|
|
type Termios unix.Termios
|