code: def _send_size(self):
          " Report terminal size to server. "
          rows, cols = _get_size(sys.stdout.fileno())
          self._send_packet({
              'cmd': 'size',
              'data': [rows, cols]
          }f _send_size(self):
          " Report terminal size to server. "
          rows, cols = _get_size(sys.stdout.fileno())
          self._send_packet({
              'cmd': 'size',
              'data': [rows, cols]
          })
docs: Report terminal size to server.