code: def set_window_params(self, cols=None, rows=None):
          
          self._set_aliased('cols', cols)
          self._set_aliased('rows', rows)
  
          return self
docs: Sets pty window params.
  
          :param int cols:
          :param int rows: