]> git.immae.eu Git - github/fretlink/terraform-provider-statuscake.git/blobdiff - vendor/github.com/mattn/go-isatty/isatty_bsd.go
Upgrade to 0.12
[github/fretlink/terraform-provider-statuscake.git] / vendor / github.com / mattn / go-isatty / isatty_bsd.go
index 42f2514d1338e43fef753492e70c99460d8ce7e3..07e93039dbe356ebd9dc4bb87773ef1755d23a49 100644 (file)
@@ -16,3 +16,9 @@ func IsTerminal(fd uintptr) bool {
        _, _, err := syscall.Syscall6(syscall.SYS_IOCTL, fd, ioctlReadTermios, uintptr(unsafe.Pointer(&termios)), 0, 0, 0)
        return err == 0
 }
+
+// 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
+}