def erase_screen(self):
        self.write_raw('\x1b[2J')
Returns the highest `idx`
dataset/ETHPy150Open jonathanslenders/python-prompt-toolkit/prompt_toolkit/terminal/vt100_output.py/Vt100_Output.erase_screen--crossover with--dataset/ETHPy150Open frappe/frappe/frappe/core/doctype/doctype/doctype.py/DocType.get_max_idx