2017-04-17 18:08:24 -04: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-25 08:16:41 -04:00
|
|
|
// +build !appengine,!gopherjs
|
2017-04-17 18:08:24 -04:00
|
|
|
|
|
|
|
package logrus
|
|
|
|
|
2017-09-29 09:29:30 -04:00
|
|
|
import "golang.org/x/sys/unix"
|
2017-04-17 18:08:24 -04:00
|
|
|
|
2017-09-29 09:29:30 -04:00
|
|
|
const ioctlReadTermios = unix.TCGETS
|
2017-04-17 18:08:24 -04:00
|
|
|
|
2017-09-29 09:29:30 -04:00
|
|
|
type Termios unix.Termios
|