github.com/pubgo/xprocess@v0.1.11/xprocess_isatty/isatty_others.go (about)

     1  // +build appengine js nacl wasm
     2  
     3  package xprocess_isatty
     4  
     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
    12  // terminal. This is also always false on this environment.
    13  func IsCygwinTerminal(fd uintptr) bool {
    14  	return false
    15  }