code: func (s *sizeQueue) Next() *remotecommand.TerminalSize {
  	size, ok := <-s.resizeChan
  	if !ok {
  		return nil
  	}
  	return &size
  }
docs: // Next returns the new terminal size after the terminal has been resized. It returns nil when
  // monitoring has been stopped.