1
0
mirror of https://github.com/ericchiang/pup synced 2025-01-14 09:40:57 +00:00

vendor: fix go-iastty to not break on unknown operating systems

This commit is contained in:
Eric Chiang 2016-07-22 21:45:46 -07:00
parent c1c3dc36d0
commit 9f43e85921
2 changed files with 9 additions and 1 deletions

2
pup.go
View File

@ -16,7 +16,7 @@ import (
// |/ \_( # |"
// C/ ,--___/
var VERSION string = "0.3.9"
var VERSION string = "0.4.0"
func main() {
// process flags and arguments

View File

@ -0,0 +1,8 @@
// +build dragonfly nacl plan9
package isatty
// IsTerminal return true if the file descriptor is terminal.
func IsTerminal(fd uintptr) bool {
return false
}