1
0
mirror of https://github.com/fatih/color.git synced 2024-11-24 08:02:14 +02:00

Merge pull request #65 from fatih/update-isatty

Update github.com/mattn/go-isatty
This commit is contained in:
Fatih Arslan 2017-03-07 21:28:53 +02:00 committed by GitHub
commit 9131ab34cf
3 changed files with 9 additions and 2 deletions

View File

@ -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
}

View File

@ -1,4 +1,5 @@
// +build !windows appengine
// +build !windows
// +build !appengine
package isatty

2
vendor/manifest vendored
View File

@ -13,7 +13,7 @@
"importpath": "github.com/mattn/go-isatty",
"repository": "https://github.com/mattn/go-isatty",
"vcs": "git",
"revision": "dda3de49cbfcec471bd7a70e6cc01fcc3ff90109",
"revision": "57fdcb988a5c543893cc61bce354a6e24ab70022",
"branch": "master",
"notests": true
},