aboutsummaryrefslogtreecommitdiffstats
path: root/src/dma/vendor/github.com/mattn/go-isatty/isatty_solaris.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/dma/vendor/github.com/mattn/go-isatty/isatty_solaris.go')
-rw-r--r--src/dma/vendor/github.com/mattn/go-isatty/isatty_solaris.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/dma/vendor/github.com/mattn/go-isatty/isatty_solaris.go b/src/dma/vendor/github.com/mattn/go-isatty/isatty_solaris.go
index 1f0c6bf5..bdd5c79a 100644
--- a/src/dma/vendor/github.com/mattn/go-isatty/isatty_solaris.go
+++ b/src/dma/vendor/github.com/mattn/go-isatty/isatty_solaris.go
@@ -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
+}