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

15 lines
320 B
Go
Raw Normal View History

2016-04-10 23:39:38 +02: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.
2017-03-25 20:45:10 +01:00
// +build !appengine
2016-04-10 23:39:38 +02:00
package logrus
2018-02-20 23:41:09 +01:00
import "golang.org/x/sys/unix"
2016-04-10 23:39:38 +02:00
2018-02-20 23:41:09 +01:00
const ioctlReadTermios = unix.TCGETS
2016-04-10 23:39:38 +02:00
2018-02-20 23:41:09 +01:00
type Termios unix.Termios