Merge pull request #101 from vbatts/termios_openbsd

openbsd Termios
This commit is contained in:
Simon Eskildsen 2015-01-14 18:31:36 -05:00
commit 35ade18898
2 changed files with 9 additions and 1 deletions

View File

@ -3,7 +3,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build linux,!appengine darwin freebsd
// +build linux,!appengine darwin freebsd openbsd
package logrus

8
terminal_openbsd.go Normal file
View File

@ -0,0 +1,8 @@
package logrus
import "syscall"
const ioctlReadTermios = syscall.TIOCGETA
type Termios syscall.Termios