Terminal.getCursorPosition

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.

class Terminal
void
getCursorPosition
(
out glong column
,
out glong row
)

Parameters

column glong

a location to store the column, or null

row glong

a location to store the row, or null