term_cur_pos
Previous Topic  Next Topic 

Synopsis:

        term_cur_pos(row,column)


Arguments:

    row        -  The row position to set the cursor

    column   -  The column to set the cursor to


Description:   This function moves the task specific cursor to the position specified by row and column.     Any subsequent term_print() function will begin from the position specified by this call.     The top left row of the application terminal is row 0, column 0.


Note that after a term_print() function call the cursor position does not change.   Another call to term_cur_pos() is needed to change the cursor position.


The cursor position of other task's cursors will not be affected by this call.


Returns: 0 for success or -1 for error (e.g attempt to postion cursor off screen)