summaryrefslogtreecommitdiff
path: root/vendor/gopkg.in/cheggaaa/pb.v1/termios_bsd.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/gopkg.in/cheggaaa/pb.v1/termios_bsd.go')
-rw-r--r--vendor/gopkg.in/cheggaaa/pb.v1/termios_bsd.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/vendor/gopkg.in/cheggaaa/pb.v1/termios_bsd.go b/vendor/gopkg.in/cheggaaa/pb.v1/termios_bsd.go
new file mode 100644
index 000000000..517ea8ed7
--- /dev/null
+++ b/vendor/gopkg.in/cheggaaa/pb.v1/termios_bsd.go
@@ -0,0 +1,9 @@
+// +build darwin freebsd netbsd openbsd dragonfly
+// +build !appengine
+
+package pb
+
+import "syscall"
+
+const ioctlReadTermios = syscall.TIOCGETA
+const ioctlWriteTermios = syscall.TIOCSETA