Last change
on this file since 822 was 822, checked in by yakumo.izuru, 22 months ago |
Prefer immortal.run over runit and rc.d, use vendored modules
for convenience.
Signed-off-by: Izuru Yakumo <yakumo.izuru@…>
|
File size:
482 bytes
|
Line | |
---|
1 | //go:build appengine || js || nacl || wasm
|
---|
2 | // +build appengine js nacl wasm
|
---|
3 |
|
---|
4 | package isatty
|
---|
5 |
|
---|
6 | // IsTerminal returns true if the file descriptor is terminal which
|
---|
7 | // is always false on js and appengine classic which is a sandboxed PaaS.
|
---|
8 | func IsTerminal(fd uintptr) bool {
|
---|
9 | return false
|
---|
10 | }
|
---|
11 |
|
---|
12 | // IsCygwinTerminal() return true if the file descriptor is a cygwin or msys2
|
---|
13 | // terminal. This is also always false on this environment.
|
---|
14 | func IsCygwinTerminal(fd uintptr) bool {
|
---|
15 | return false
|
---|
16 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.