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

Use el not dl to erase a line? #67

Closed
sourcefrog opened this issue Dec 20, 2016 · 0 comments · Fixed by #68
Closed

Use el not dl to erase a line? #67

sourcefrog opened this issue Dec 20, 2016 · 0 comments · Fixed by #68

Comments

@sourcefrog
Copy link
Contributor

The docs say that delete_line will

Deletes the text from the cursor location to the end of the line.

According to https://books.google.com/books?id=GsUMLqtYI1UC&pg=PA115&lpg=PA115&dq=terminfo+dl&source=bl&ots=RpLCapUYS3&sig=4xJZMQuoegtf_9kaBSH-zSCf4_o&hl=en&sa=X&ved=0ahUKEwjaqPTZ-4HRAhVGs1QKHck5C4kQ6AEIMzAE#v=onepage&q=terminfo%20dl&f=false this sounds more like terminfo el than dl. That says that el is "erase to end of line" whereas dl "deletes lines in their entirity, with lines from below moving up to fill the gap"

I'm not sure if it's related but dl, ie ESC [0M doesn't seem to actually erase the line in iTerm2 3.0.10.

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

Successfully merging a pull request may close this issue.

1 participant