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

Documented function of delete_line is more like clr_eol #68

Merged
merged 2 commits into from
Jan 26, 2017

Conversation

sourcefrog
Copy link
Contributor

Fixes #67.

In terminfo as far as I can make out, dl means delete the current line and move up from below, whereas your term.delete_line is described as deleting to the end of the line.

Possibly this should be fixed in the other direction by adding a new function, and updating the delete_line behavior. But I think the current docstring is accurate on Windows.

@Stebalien
Copy link
Owner

You have the correct fix, sorry for the delay. However, terminfo currently uses the short names so the correct capability would be el. Unfortunately, that specific short name hadn't been filled-in in the database yet. Could you rebase on the latest master (and use el instead of clr_eol)?

We use the shortnames (for now).
@Stebalien Stebalien merged commit 6c31e6e into Stebalien:master Jan 26, 2017
@Stebalien
Copy link
Owner

Given that I completely forgot about this and left you hanging for weeks, I decided to just make the change for you and merge.

@sourcefrog
Copy link
Contributor Author

sourcefrog commented Jan 26, 2017 via email

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 this pull request may close these issues.

Use el not dl to erase a line?
2 participants