Skip to content

Fix DELETE key not being recognized #611

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

Merged
merged 1 commit into from
Jun 6, 2016
Merged

Conversation

bkad
Copy link
Contributor

@bkad bkad commented Apr 19, 2016

curtsies stopped supporting PADDELETE at this point: thomasballinger/curtsies@4150164
fixes #609

curtsies stopped supporting PADDELETE  at this point: thomasballinger/curtsies@4150164
fixes bpython#609
@thomasballinger
Copy link
Member

Thanks, lgtm.

Any thoughts on whether Curtsies should report this as delete or paddelete? The change brought Curtsieskey names in line with Blessed names which I trusted more than the names I had.

@bkad
Copy link
Contributor Author

bkad commented Apr 20, 2016

I think DELETE is more clear and succinct than PADDELETE.

@safiyat
Copy link

safiyat commented May 19, 2016

@thomasballinger
DELETE works for me. PADDELETE didn't.

@bkad Thanks!

@thomasballinger thomasballinger merged commit f21a68b into bpython:master Jun 6, 2016
@bkad bkad deleted the patch-1 branch June 6, 2016 02:14
@@ -212,7 +212,7 @@ def back_word(cursor_offset, line):
return (last_word_pos(line[:cursor_offset]), line)


@edit_keys.on('<PADDELETE>')
@edit_keys.on('<DELETE>')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this handle both DELETE and PADDELETE?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On Manjaro Linux (Arch) <PADDELETE> doesn't worked either.

Pypi's package doesn't have this change.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sebastinas Right now in curtsies there isn't a PADDELETE, but it wouldn't hurt to add it if paddelete should do this too.

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.

DEL key not working on OS X (10.11.3) after the switch to curtsies 2.2
5 participants