Share this page

# TE_set_cursor_pos

Cursor Functions

Sets the position of the cursor on the terminal screen.

    int TE_set_cursor_pos( int col, int row );

## Inputs

col | The column in which to position the cursor.
row | The row in which to position the cursor.

TE_set_cursor_pos sets the cursor position to col, row.

## Return Values

This function returns 0 if it succeeds, and a negative error code if it fails. It also sets the global variable TE_errno.

## Parameterization

You cannot use standard parameterization for any arguments in this function.

## Example

This example sets the cursor position to the first column in the second row of the terminal screen.

    TE_set_cursor_pos(1, 2);

Tips to improve your search results... VuGen Function Reference Version 26.1-26.3 Function Reference 26.1-26.3 All View Local Help Center View Online Help Center Version: