Probably a no go but...

Is it possible to go backward in the console? Let me know if I am not being clear enough on what I mean...

And Thank you!
With streams, only within the current line by printing '\b'.
It's not possible to go up, though (at least not that I'm aware).
NCurses
(Unix, Linux, etc)
http://www.gnu.org/software/ncurses/

PDCurses
(Windows, DOS, OS/2, Plan 9, SNES, etc)
http://pdcurses.sourceforge.net/

NCurses Programming HOWTO
http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/

On PCs, learning the cursor position is easy. On other terminals, the ability is a rare commodity. (Relatively few implement the VT100 Report Cursor Position DSR response --though those that do tend to be more commonly used.) Use of a library like NCurses is necessary in that case.

Just placing the cursor elsewhere on the screen is an almost universal capability.

Hope this helps.
Windows offers the SetConsoleCursorPosition() function
Topic archived. No new replies allowed.