Corrected ANSI escape sequences used to move the cursor.