Skip to content

Commit

Permalink
Added support for openbsd
Browse files Browse the repository at this point in the history
Signed-off-by: NotZippy <[email protected]>
  • Loading branch information
notzippy committed Apr 23, 2015
1 parent 352fceb commit 0541bc3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion term/terminal_notwindows.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 term

Expand Down
7 changes: 7 additions & 0 deletions term/terminal_openbsd.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package term

import "syscall"

const ioctlReadTermios = syscall.TIOCGETA

type Termios syscall.Termios

0 comments on commit 0541bc3

Please sign in to comment.