Correctly making use of function ansisend which now has a callback to retrieve the currentPosX and currentPosX of the cursor