summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/mattn/go-isatty/isatty_appengine.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/mattn/go-isatty/isatty_appengine.go')
-rw-r--r--vendor/github.com/mattn/go-isatty/isatty_appengine.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/vendor/github.com/mattn/go-isatty/isatty_appengine.go b/vendor/github.com/mattn/go-isatty/isatty_appengine.go
new file mode 100644
index 00000000..83c58877
--- /dev/null
+++ b/vendor/github.com/mattn/go-isatty/isatty_appengine.go
@@ -0,0 +1,9 @@
+// +build appengine
+
+package isatty
+
+// IsTerminal returns true if the file descriptor is terminal which
+// is always false on on appengine classic which is a sandboxed PaaS.
+func IsTerminal(fd uintptr) bool {
+ return false
+}