summaryrefslogtreecommitdiff
path: root/vendor/github.com/moby/term/termios_bsd.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/moby/term/termios_bsd.go')
-rw-r--r--vendor/github.com/moby/term/termios_bsd.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/vendor/github.com/moby/term/termios_bsd.go b/vendor/github.com/moby/term/termios_bsd.go
new file mode 100644
index 0000000..45f77e0
--- /dev/null
+++ b/vendor/github.com/moby/term/termios_bsd.go
@@ -0,0 +1,13 @@
+//go:build darwin || freebsd || openbsd || netbsd
+// +build darwin freebsd openbsd netbsd
+
+package term
+
+import (
+ "golang.org/x/sys/unix"
+)
+
+const (
+ getTermios = unix.TIOCGETA
+ setTermios = unix.TIOCSETA
+)