def clear_screen(self, type=<NUM_LIT:2>):
self._write_raw(type + '<STR_LIT>')<EOL>
Command: CSI n J
Name; ED
Clears part of the screen. If n is zero (or missing), clear from cursor to end of screen. If n is one, clear from cursor to beginning of the screen. If n is two, clear entire screen (and moves cursor to upper left on MS-DOS ANSI.SYS).