Closed
Description
When the CLRDN (12) control character is received, the Debug Terminal needs to clear lines starting with the line the cursor is on. This is described in the Debug Terminal document.
Instead, it currently starts with the line below that of the cursor.
Example:
This code...
'{$STAMP BS2}
'{$PBASIC 2.5}
PAUSE 1000
FOR W0 = 0 to 9
DEBUG "Line ", DEC W0, CR
NEXT
PAUSE 500
DEBUG CRSRY, 5, "...On This Line Now..."
PAUSE 500
DEBUG CLRDN
should result in this display:
Line 0
Line 1
Line 2
Line 3
Line 4
but instead it displays:
Line 0
Line 1
Line 2
Line 3
Line 4
...On This Line Now...