]> git.immae.eu Git - github/fretlink/terraform-provider-statuscake.git/blobdiff - vendor/github.com/mattn/go-isatty/isatty_solaris.go
Upgrade to 0.12
[github/fretlink/terraform-provider-statuscake.git] / vendor / github.com / mattn / go-isatty / isatty_solaris.go
index 1f0c6bf53dceae4332245f746ee401dce78c3edf..bdd5c79a07fcd90d62db2aed04e53f0e8ab5e95e 100644 (file)
@@ -14,3 +14,9 @@ func IsTerminal(fd uintptr) bool {
        err := unix.IoctlSetTermio(int(fd), unix.TCGETA, &termio)
        return err == nil
 }
+
+// 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
+}