summaryrefslogtreecommitdiff
path: root/vendor/github.com/moby/term/termios_nonbsd.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/moby/term/termios_nonbsd.go')
-rw-r--r--vendor/github.com/moby/term/termios_nonbsd.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/vendor/github.com/moby/term/termios_nonbsd.go b/vendor/github.com/moby/term/termios_nonbsd.go
new file mode 100644
index 000000000..038fd61ba
--- /dev/null
+++ b/vendor/github.com/moby/term/termios_nonbsd.go
@@ -0,0 +1,12 @@
+//+build !darwin,!freebsd,!netbsd,!openbsd,!windows
+
+package term
+
+import (
+ "golang.org/x/sys/unix"
+)
+
+const (
+ getTermios = unix.TCGETS
+ setTermios = unix.TCSETS
+)