aboutsummaryrefslogtreecommitdiffstats
path: root/log/term/terminal_linux.go
diff options
context:
space:
mode:
Diffstat (limited to 'log/term/terminal_linux.go')
-rw-r--r--log/term/terminal_linux.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/log/term/terminal_linux.go b/log/term/terminal_linux.go
new file mode 100644
index 000000000..5290468d6
--- /dev/null
+++ b/log/term/terminal_linux.go
@@ -0,0 +1,14 @@
+// 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.TCGETS
+
+type Termios syscall.Termios