Skip to content

Debug Terminal: CLRDN (12) doesn't clear the line the cursor is on #269

Closed
@PropGit

Description

@PropGit

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...

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions