Moving the Physical Cursor

You can move just the location of the physical cursor with the move physical cursor function, csr_mv():

void csr_mv(row, col)
 
int row;
/* Screen row to move physical cursor to
*/
int col;
/* Screen column to move physical cursor to
*/

The row and column coordinates specified in csr_mv() are relative to the physical screen, not to a window. For example,n

csr_mv(0, 0);

moves the physical cursor to the top left position of the screen.


Home Contents Previous Next