Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Deleting 2 lines

Name: Anonymous 2010-02-17 11:05

How do I delete 2 lines in a windows terminal using C?

I know that I can move to the beginning of a line using "\r".
But neither printf("\r\r"); nor printf("\r\b\r"; work.
A windows TErminal is not VT100 compliant, or I haven't figured out how to use VT100 in a windows terminal.

Name: Anonymous 2010-02-17 15:48

Do like Dwarf Fortress and use OpenGL to draw the console window. Do 10 API calls per character, one of which is glFinish(), to make it feel authentic.

Also it's obviously possible. I'd start reading here: http://msdn.microsoft.com/en-us/library/ms682088(VS.85).aspx

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List