2014-04-23 18:21:11 +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-06-21 04:39:23 +00:00
|
|
|
// +build !appengine,!js
|
2016-04-02 05:06:31 +00:00
|
|
|
|
2014-04-23 18:21:11 +00:00
|
|
|
package logrus
|
|
|
|
|
2017-05-30 19:37:58 +00:00
|
|
|
import "golang.org/x/sys/unix"
|
2014-04-23 18:21:11 +00:00
|
|
|
|
2017-05-30 19:37:58 +00:00
|
|
|
const ioctlReadTermios = unix.TCGETS
|
2014-04-23 18:21:11 +00:00
|
|
|
|
2017-07-25 08:29:46 +00:00
|
|
|
type Termios unix.Termios
|