isatty_others.go

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