Skip to content
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

Add support for erase-in-display codes with numbers other than 0. #310

Open
gbmhunter opened this issue Mar 7, 2024 · 1 comment
Open
Assignees

Comments

@gbmhunter
Copy link
Owner

Especially useful would be support for "2", which clears the screen.

@gbmhunter gbmhunter self-assigned this Mar 7, 2024
@gbmhunter
Copy link
Owner Author

Erase in display 2 ([2J ) is clearing the whole screen. This should clear the whole screen, move the cursor to home (top-left) but leave the scrollback buffer.

Would have to delete all chars from rows below the cursor but leave the rows there, otherwise it would be impossible to scroll so that the cursor is in the top-left.

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

No branches or pull requests

1 participant