1
0
Fork 0

Colored logs on windows.

This commit is contained in:
Ludovic Fernandez 2018-10-02 16:28:04 +02:00 committed by Traefiker Bot
parent f04813fa02
commit 4cb1ae4626
17 changed files with 427 additions and 121 deletions

View file

@ -3,12 +3,19 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build !appengine
// +build !appengine,!js
package logrus
import "golang.org/x/sys/unix"
import (
"io"
"golang.org/x/sys/unix"
)
const ioctlReadTermios = unix.TCGETS
type Termios unix.Termios
func initTerminal(w io.Writer) {
}