Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bpython/curtsiesfrontend/manual_readline.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.

def delete(cursor_offset, line):
return (cursor_offset,
line[:cursor_offset] + line[cursor_offset+1:])
Expand Down