Display Mode Commands
| Command |
Display Mode |
| <ESC>[0h |
40x25 characters, monochrome. |
| <ESC>[1h |
40x25 characters, color. |
| <ESC>[2h |
80x25 characters, monochrome. |
| <ESC>[3h |
80x25 characters, color. |
|
|
| <ESC>[4h |
320x200 pixels, 4 color. |
| <ESC>[5h |
320x200 pixels, monochrome. |
| <ESC>[6h |
640x200 pixels, monochrome. |
| <ESC>[13h |
320x200 pixels, color. |
| <ESC>[14h |
640x200 pixels, 16 color. |
| <ESC>[15h |
640x350 pixels, 2 color. |
| <ESC>[16h |
640x350 pixels, 16 color. |
| <ESC>[17h |
640x480 pixels, 2 color. |
| <ESC>[18h |
640x480 pixels, 16 color. |
| <ESC>[19h |
320x200 pixels, 256 color. |
Can also use l (lower case L) instead of h
difference is line wrap is turned off.
|
Miscellaneous Display Commands
| Command |
Meaning |
| <ESC>[2J |
Clear screen |
| <ESC>[K |
Clear from cursor to end of line |
| <ESC>[=7h |
Enable line wrapping |
| <ESC>[=7l |
Disable line wrapping |
|