by l3v3rz » Mon Feb 25, 2013 7:57 pm
by l3v3rz
Mon Feb 25, 2013 7:57 pm
VT100 terminal (most are) respond also to "Esc [ 2 J" to clear screen - ESc being Ascii 27. This is generally quicker and better. Not sure if code can generate that, if its "C" then :
putchar(27);, putchar('['); putchar('2'); putchar('J');
VT100 terminal (most are) respond also to "Esc [ 2 J" to clear screen - ESc being Ascii 27. This is generally quicker and better. Not sure if code can generate that, if its "C" then :
putchar(27);, putchar('['); putchar('2'); putchar('J');