aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/sirupsen/logrus/terminal_linux.go
diff options
context:
space:
mode:
authorOndrej Fabry <ofabry@cisco.com>2017-11-28 16:28:48 +0100
committerOndrej Fabry <ofabry@cisco.com>2017-11-28 16:29:42 +0100
commitac6019137d5b10d02c7acac4f63fa22091b9933d (patch)
tree6b7cc4ecd56fce967bf5665292503459582a58ac /vendor/github.com/sirupsen/logrus/terminal_linux.go
parent3f1edad4e6ba0a7876750aea55507fae14d8badf (diff)
Fix imports for github.com/sirupsen/logrus
Change-Id: I84f2e45e5ff188a2a7a80cf69f607b44486c1754 Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
Diffstat (limited to 'vendor/github.com/sirupsen/logrus/terminal_linux.go')
-rw-r--r--vendor/github.com/sirupsen/logrus/terminal_linux.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/vendor/github.com/sirupsen/logrus/terminal_linux.go b/vendor/github.com/sirupsen/logrus/terminal_linux.go
new file mode 100644
index 0000000..308160c
--- /dev/null
+++ b/vendor/github.com/sirupsen/logrus/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 logrus
+
+import "syscall"
+
+const ioctlReadTermios = syscall.TCGETS
+
+type Termios syscall.Termios