MartinB
12-04-2003, 02:53 AM
I'm writing some C stuff to do things like putting coloured windows on the screen, menus and that kind of thing in console mode,, and I've managed to do just about everything in regards to input (Changing colours, setting cursor position, drawing special characters for making windows, etc.) but now I was wondering how to get information back out? Information I need are things such as the current cursor position (equivilant to Borlands wherex() and wherey() functions) and what character and colour is in a specified area of the screen (equivilant to Borlands gettext() function).
Does anyone know of something similar in Linux? I had a look at the termios.h file but I could only find things regarding input.
Cheers,
Martin
Does anyone know of something similar in Linux? I had a look at the termios.h file but I could only find things regarding input.
Cheers,
Martin