code: func (t TTY) GetSize() *remotecommand.TerminalSize {
  	outFd, isTerminal := term.GetFdInfo(t.Out)
  	if !isTerminal {
  		return nil
  	}
  	return GetSize(outFd)
  }
docs: // GetSize returns the current size of the user's terminal. If it isn't a terminal,
  // nil is returned.