summaryrefslogtreecommitdiff
path: root/vendor/gopkg.in/cheggaaa/pb.v1/pb_appengine.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/gopkg.in/cheggaaa/pb.v1/pb_appengine.go')
-rw-r--r--vendor/gopkg.in/cheggaaa/pb.v1/pb_appengine.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/vendor/gopkg.in/cheggaaa/pb.v1/pb_appengine.go b/vendor/gopkg.in/cheggaaa/pb.v1/pb_appengine.go
new file mode 100644
index 000000000..d85dbc3b2
--- /dev/null
+++ b/vendor/gopkg.in/cheggaaa/pb.v1/pb_appengine.go
@@ -0,0 +1,11 @@
+// +build appengine
+
+package pb
+
+import "errors"
+
+// terminalWidth returns width of the terminal, which is not supported
+// and should always failed on appengine classic which is a sandboxed PaaS.
+func terminalWidth() (int, error) {
+ return 0, errors.New("Not supported")
+}