本站源代码
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.

16 lines
429B

  1. // +build appengine js
  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. }
上海开阖软件有限公司 沪ICP备12045867号-1