From b09c6d56832eb1718c07d74abf3bc6ae3fe4e030 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 14:36:04 +0200 Subject: Adding upstream version 1.1.0. Signed-off-by: Daniel Baumann --- .../github.com/mattn/go-isatty@v0.0.16/isatty_others.go | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 dependencies/pkg/mod/github.com/mattn/go-isatty@v0.0.16/isatty_others.go (limited to 'dependencies/pkg/mod/github.com/mattn/go-isatty@v0.0.16/isatty_others.go') diff --git a/dependencies/pkg/mod/github.com/mattn/go-isatty@v0.0.16/isatty_others.go b/dependencies/pkg/mod/github.com/mattn/go-isatty@v0.0.16/isatty_others.go new file mode 100644 index 0000000..3150322 --- /dev/null +++ b/dependencies/pkg/mod/github.com/mattn/go-isatty@v0.0.16/isatty_others.go @@ -0,0 +1,16 @@ +//go:build appengine || js || nacl || wasm +// +build appengine js nacl wasm + +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 +} -- cgit v1.2.3