vendor/github.com/sirupsen/logrus/terminal_linux.go
raw| 1 | // Based on ssh/terminal: |
| 2 | // Copyright 2013 The Go Authors. All rights reserved. |
| 3 | // Use of this source code is governed by a BSD-style |
| 4 | // license that can be found in the LICENSE file. |
| 5 | |
| 6 | // +build !appengine,!gopherjs |
| 7 | |
| 8 | package logrus |
| 9 | |
| 10 | import "golang.org/x/sys/unix" |
| 11 | |
| 12 | const ioctlReadTermios = unix.TCGETS |
| 13 | |
| 14 | type Termios unix.Termios |