mirror of
https://github.com/cheat/cheat.git
synced 2026-04-17 00:13:32 +02:00
Bumps [github.com/mattn/go-isatty](https://github.com/mattn/go-isatty) from 0.0.20 to 0.0.21. - [Commits](https://github.com/mattn/go-isatty/compare/v0.0.20...v0.0.21) --- updated-dependencies: - dependency-name: github.com/mattn/go-isatty dependency-version: 0.0.21 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
18 lines
566 B
Go
18 lines
566 B
Go
//go:build (appengine || js || nacl || tinygo || wasm || wasip1 || wasip2) && !windows
|
|
// +build appengine js nacl tinygo wasm wasip1 wasip2
|
|
// +build !windows
|
|
|
|
package isatty
|
|
|
|
// IsTerminal returns true if the file descriptor is terminal which
|
|
// is always false on js and appengine classic which is a sandboxed PaaS.
|
|
func IsTerminal(fd uintptr) bool {
|
|
return false
|
|
}
|
|
|
|
// IsCygwinTerminal() return true if the file descriptor is a cygwin or msys2
|
|
// terminal. This is also always false on this environment.
|
|
func IsCygwinTerminal(fd uintptr) bool {
|
|
return false
|
|
}
|