Coder's Guild Mailing List

curosr control

Posted by Eian on 2001-01-26

Hello everybody, it has been a while since I have posted here. I apologize
for my lurking attribute. :)

On to my question, I need a way that is rather platform unspecific to
control the location of the cursor on the screen. I know of simple ways
using libraries like curses, or some of the native API stuff that MSVC uses.
But does anybody know a more general way to do it?

Basically, and you are going to laugh at the simplicity of it, I just want
to be able to move the cursor x spaces backward on the same line without
deleting the text that is there.

I have attempted to use ANSI sequences...but really to no avail....it is too
much hassle on a windows machine to make sure that ANSI.SYS is loaded......

Any ideas?

Eian