packer-cn/vendor/github.com/sirupsen/logrus/terminal_linux.go

15 lines
330 B
Go
Raw Normal View History

2018-02-05 19:52:44 -05: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,!gopherjs
2018-02-05 19:52:44 -05:00
package logrus
import "golang.org/x/sys/unix"
2018-02-05 19:52:44 -05:00
const ioctlReadTermios = unix.TCGETS
2018-02-05 19:52:44 -05:00
type Termios unix.Termios