code: func NewTty(cmd *exec.Cmd) *Tty {
  	// Nothing special for Windows at this time
  	tty := &Tty{}
  	tty.cmd = cmd
  	return tty
  }
docs: // NewTty creates a pseudo-TTY for a command and modifies it appropriately so
  // the command thinks it's a real terminal