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

15 lines
320 B
Go
Raw Normal View History

2019-01-12 04:58:27 +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
package logrus
import "golang.org/x/sys/unix"
const ioctlReadTermios = unix.TCGETS
type Termios unix.Termios