From 97e951044c4789de1e8f13f6afad22f840b449c1 Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Tue, 6 Jan 2015 08:44:32 -0500 Subject: [PATCH] terminal: openbsd Termios Signed-off-by: Vincent Batts --- terminal_notwindows.go | 2 +- terminal_openbsd.go | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 terminal_openbsd.go 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