code: func IsTerminal() bool {
  	// Windows is always a terminal
  	if runtime.GOOS == "windows" {
  		return true
  	}
  
  	// Same implementation as readline but with our custom fds
  	return readline.IsTerminal(int(wrappedstreams.Stdin().Fd())) &&
  		(readline.IsTerminal(int(wrappedstreams.Stdout().Fd())) ||
  			readline.IsTerminal(int(wrappedstreams.Stderr().Fd())))
  }
docs: // IsTerminal determines if this process is attached to a TTY.