equal
deleted
inserted
replaced
1 // +build !windows |
1 // +build appengine js nacl |
2 // +build !appengine |
|
3 |
2 |
4 package isatty |
3 package isatty |
5 |
4 |
6 // IsCygwinTerminal return true if the file descriptor is a cygwin or msys2 |
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 |
7 // terminal. This is also always false on this environment. |
12 // terminal. This is also always false on this environment. |
8 func IsCygwinTerminal(fd uintptr) bool { |
13 func IsCygwinTerminal(fd uintptr) bool { |
9 return false |
14 return false |
10 } |
15 } |