2014-10-24 09:38:36 -07: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-07-26 14:20:34 +02:00
|
|
|
// +build !appengine,!gopherjs
|
2016-09-28 15:27:36 +01:00
|
|
|
|
2014-10-24 09:38:36 -07:00
|
|
|
package logrus
|
|
|
|
|
2017-08-08 12:39:55 -05:00
|
|
|
import "golang.org/x/sys/unix"
|
2014-10-24 09:38:36 -07:00
|
|
|
|
2017-08-08 12:39:55 -05:00
|
|
|
const ioctlReadTermios = unix.TCGETS
|
2014-10-24 09:38:36 -07:00
|
|
|
|
2017-08-08 12:39:55 -05:00
|
|
|
type Termios unix.Termios
|