Reset Mode (RM)

Esc [=#l
Esc [=l
Esc [=0l
Esc [?7l

Invokes the screen width or type specified by the parameter.
Same as SM (Set Mode), except that parameter 7 will reset
wrap at end-of-line mode (characters past end of line are
thrown away).

Parameter Meaning
0 Text 40x25 black and white
1 Text 40x25 color
2 Text 80x25 black and white
3 Text 80x25 color
4 Graphics 320x200 color
5 Graphics 320x200 black and white
6 Graphics 640x200 black and white
7 Wrap at end-of-line (characters
past end of line are thrown away)