terminal: openbsd Termios

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2015-01-06 08:44:32 -05:00
parent d2f9ffa1d9
commit 97e951044c
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 // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build linux,!appengine darwin freebsd // +build linux,!appengine darwin freebsd openbsd
package logrus 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