Add Windows/FreeBSD support

This commit is contained in:
Rob Napier
2014-04-23 14:21:11 -04:00
parent b73d08314f
commit d32bfc962c
6 changed files with 92 additions and 4 deletions
+12
View File
@@ -0,0 +1,12 @@
// 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.
package logrus
import "syscall"
const ioctlReadTermios = syscall.TCGETS
type Termios syscall.Termios