Get Cursor Position

\i C ? K

Returns the current position of the cursor.

Response: [ACK] word::pos_x word::pos_y [ACK]
Parameter Type Range Description
pos_x word 0 ... display width - 1 horizontal cursor position
pos_y word 0 ... display height - 1 vertical cursor position

Note

Response Example

[ACK][01][F4][00][25][ACK]

Note

This response means that the current cursor position is at x = 500 (0x1F4), y = 37 (0x25).

See also:

Set Cursor Position