Name
GetConsoleCursor -- get console cursor position (V10.0)
Synopsis
x, y = GetConsoleCursor()
Platforms
Linux, macOS, Windows

Function
This function returns the cursor position of the current window. The position returned is relative to the upper left corner of the window, which is (0,0).

You must enable advanced console mode using EnableAdvancedConsole() before you can use this function. See EnableAdvancedConsole for details.

Inputs
none

Results
x
current x position
y
current y position

Show TOC