You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

isatty_others.go 434B

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