aboutsummaryrefslogtreecommitdiffstats
path: root/log/term/terminal_appengine.go
diff options
context:
space:
mode:
Diffstat (limited to 'log/term/terminal_appengine.go')
-rw-r--r--log/term/terminal_appengine.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/log/term/terminal_appengine.go b/log/term/terminal_appengine.go
new file mode 100644
index 000000000..c1b5d2a3b
--- /dev/null
+++ b/log/term/terminal_appengine.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
+
+// IsTty always returns false on AppEngine.
+func IsTty(fd uintptr) bool {
+ return false
+}