Terminal.getCursorPosition

void getCursorPosition(out glong column, out glong row)

Reads the location of the insertion cursor and returns it. The row coordinate is absolute.

This method is unaware of BiDi. The returned column is logical column.

Parameters

columna location to store the column, or null
rowa location to store the row, or null