def main(): """ Produce output and print to pager. """ dummy = TextGen() print('') # pylint: disable=C0325 text_str = '' for _ in range(PARAS): pgraph = Paragraph(dummy.chunk(), int(Cli.width() * 0.6), True) pgraph.set_lmargin(Cli.width() // 5) text_str += str(pgraph) if PAGER is True: Cli.less(text_str) else: print(text_str) # pylint: disable=C0325
def less(self): Cli.less(str(self))