...

Source file src/github.com/mattn/go-isatty/isatty_others.go

Documentation: github.com/mattn/go-isatty

     1  //go:build (appengine || js || nacl || tinygo || wasm) && !windows
     2  // +build appengine js nacl tinygo wasm
     3  // +build !windows
     4  
     5  package 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.
     9  func 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.
    15  func IsCygwinTerminal(fd uintptr) bool {
    16  	return false
    17  }
    18  

View as plain text