2014-04-23 22:21:11 +04: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.
|
|
|
|
|
2018-02-24 00:35:25 +03:00
|
|
|
// +build !appengine,!gopherjs
|
2016-04-02 08:06:31 +03:00
|
|
|
|
2014-04-23 22:21:11 +04:00
|
|
|
package logrus
|
|
|
|
|
2017-05-30 22:37:58 +03:00
|
|
|
import "golang.org/x/sys/unix"
|
2014-04-23 22:21:11 +04:00
|
|
|
|
2017-05-30 22:37:58 +03:00
|
|
|
const ioctlReadTermios = unix.TCGETS
|
2014-04-23 22:21:11 +04:00
|
|
|
|
2017-07-25 11:29:46 +03:00
|
|
|
type Termios unix.Termios
|
2018-04-03 05:47:29 +03:00
|
|
|
|
|
|
|
func (f *TextFormatter) initTerminal(entry *Entry) {
|
|
|
|
}
|