aboutsummaryrefslogtreecommitdiffstats
path: root/log/term/terminal_darwin.go
diff options
context:
space:
mode:
Diffstat (limited to 'log/term/terminal_darwin.go')
-rw-r--r--log/term/terminal_darwin.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/log/term/terminal_darwin.go b/log/term/terminal_darwin.go
new file mode 100644
index 000000000..d8f351b1b
--- /dev/null
+++ b/log/term/terminal_darwin.go
@@ -0,0 +1,13 @@
+// Based on ssh/terminal:
+// Copyright 2013 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+// +build !appengine
+
+package term
+
+import "syscall"
+
+const ioctlReadTermios = syscall.TIOCGETA
+
+type Termios syscall.Termios