Unified terminal initialization code handling

This commit is contained in:
Felix Kollmann
2018-04-03 04:55:52 +02:00
parent 9bc59a5969
commit 2f58bc83cb
4 changed files with 17 additions and 10 deletions
+6 -2
View File
@@ -7,11 +7,15 @@
package logrus
import "golang.org/x/sys/unix"
import (
"io"
"golang.org/x/sys/unix"
)
const ioctlReadTermios = unix.TCGETS
type Termios unix.Termios
func (f *TextFormatter) initTerminal(entry *Entry) {
func initTerminal(w io.Writer) {
}