Merge pull request #101 from vbatts/termios_openbsd
openbsd Termios
diff --git a/terminal_notwindows.go b/terminal_notwindows.go
index 276447b..80edd32 100644
--- a/terminal_notwindows.go
+++ b/terminal_notwindows.go
@@ -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
diff --git a/terminal_openbsd.go b/terminal_openbsd.go
new file mode 100644
index 0000000..d238bfa
--- /dev/null
+++ b/terminal_openbsd.go
@@ -0,0 +1,8 @@
+
+package logrus
+
+import "syscall"
+
+const ioctlReadTermios = syscall.TIOCGETA
+
+type Termios syscall.Termios