gtsocial-umbx

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

isatty_others.go (482B)


      1 //go:build appengine || js || nacl || wasm
      2 // +build appengine js nacl wasm
      3 
      4 package isatty
      5 
      6 // IsTerminal returns true if the file descriptor is terminal which
      7 // is always false on js and appengine classic which is a sandboxed PaaS.
      8 func IsTerminal(fd uintptr) bool {
      9 	return false
     10 }
     11 
     12 // IsCygwinTerminal() return true if the file descriptor is a cygwin or msys2
     13 // terminal. This is also always false on this environment.
     14 func IsCygwinTerminal(fd uintptr) bool {
     15 	return false
     16 }