termMoveCursor (Function)
Signature: termMoveCursor(row: int, col: int) -> int
Description: Moves the terminal cursor to the given row and column.
Parameters
- row (
int): Target row (1-based) - col (
int): Target column (1-based)
Returns: int
Example
let hidden = termHideCursor()
let moved = termMoveCursor(1, 1)
let shown = termShowCursor()
print("hide=${hidden}; move=${moved}; show=${shown}")
hidden = termHideCursor ()
moved = termMoveCursor (1, 1)
shown = termShowCursor ()
print "hide=${hidden}; move=${moved}; show=${shown}"