Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
PropGit opened this issue Sep 16, 2015 · 1 comment · Fixed by #282
Closed

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

PropGit opened this issue Sep 16, 2015 · 1 comment · Fixed by #282
Assignees
Milestone

Comments

@PropGit
Copy link
Contributor

PropGit commented Sep 16, 2015

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...
@PropGit
Copy link
Contributor Author

PropGit commented Oct 3, 2015

Verified fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants