traefik/vendor/github.com/sirupsen/logrus/terminal_linux.go

15 lines
320 B
Go
Raw Normal View History

2017-02-07 21:33:23 +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.
// +build !appengine
2017-02-07 21:33:23 +00:00
package logrus
2018-01-22 11:16:03 +00:00
import "golang.org/x/sys/unix"
2017-02-07 21:33:23 +00:00
2018-01-22 11:16:03 +00:00
const ioctlReadTermios = unix.TCGETS
2017-02-07 21:33:23 +00:00
2018-01-22 11:16:03 +00:00
type Termios unix.Termios