Set the virtual screen cursor. y Y-coordinate. x X-coordinate. If y and x are both -1, then leaveok is set.
curses/setsyx
setsyx