TApxTerminalEmulator.GetCursorPos

TApxTerminalEmulator

procedure GetCursorPos(var aRow, aCol : Integer); virtual;

Returns the cursor position.

The emulator maintains the position of the terminal's cursor. The terminal component can call the GetCursorPos method to get the row and column values for the cursor's position, so that it can draw a blinking caret at this position on its client window.

Using terminal terminology, the cursor means the keyboard edit point. It is the place where new text data will be written to the screen. This is not to be confused with the mouse pointer, which is also known as a cursor.