Add isCygwinTerminal to non-appengine environments
@@ -7,3 +7,9 @@ package isatty
func IsTerminal(fd uintptr) bool {
return false
}
+
+// IsCygwinTerminal() return true if the file descriptor is a cygwin or msys2
+// terminal. This is also always false on this environment.
+func IsCygwinTerminal(fd uintptr) bool {
+ return false
+}
@@ -1,4 +1,5 @@
-// +build !windows appengine
+// +build !windows
+// +build !appengine
package isatty