vendor/github.com/mattn/go-isatty/isatty_others.go
changeset 251 1c52a0eeb952
parent 242 2a9ec03fe5a1
child 256 6d9efbef00a9
equal deleted inserted replaced
250:c040f992052f 251:1c52a0eeb952
     1 // +build !windows
     1 // +build appengine js nacl
     2 // +build !appengine
       
     3 
     2 
     4 package isatty
     3 package isatty
     5 
     4 
     6 // IsCygwinTerminal return true if the file descriptor is a cygwin or msys2
     5 // IsTerminal returns true if the file descriptor is terminal which
       
     6 // is always false on js and appengine classic which is a sandboxed PaaS.
       
     7 func IsTerminal(fd uintptr) bool {
       
     8 	return false
       
     9 }
       
    10 
       
    11 // IsCygwinTerminal() return true if the file descriptor is a cygwin or msys2
     7 // terminal. This is also always false on this environment.
    12 // terminal. This is also always false on this environment.
     8 func IsCygwinTerminal(fd uintptr) bool {
    13 func IsCygwinTerminal(fd uintptr) bool {
     9 	return false
    14 	return false
    10 }
    15 }