def SetLines(self, lines):

    (self._cli_lines, self._cli_cols) = TerminalSize()

    if lines:
      self._cli_lines = int(lines)
Set number of screen lines.
dataset/ETHPy150Open google/textfsm/terminal.py/Pager.SetLines