cursor
The cursor namespace — 2 functions.
cursor/clear
cursor.clear()
Reset the cursor to its default appearance.
cursor/set
cursor.set(spec) -> boolean
Set the cursor appearance from a spec table. Supports icon, color, and other cursor properties.
Parameters
spec{ icon?: string, color?: string, ... }— Cursor specification table
Returns boolean — true if cursor was set