Skip to content

Commit f21a68b

Browse files
Merge pull request bpython#611 from bkad/patch-1
Fix DELETE key not being recognized
2 parents 937865a + 302bf49 commit f21a68b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bpython/curtsiesfrontend/manual_readline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ def back_word(cursor_offset, line):
212212
return (last_word_pos(line[:cursor_offset]), line)
213213

214214

215-
@edit_keys.on('<PADDELETE>')
215+
@edit_keys.on('<DELETE>')
216216
def delete(cursor_offset, line):
217217
return (cursor_offset,
218218
line[:cursor_offset] + line[cursor_offset+1:])

0 commit comments

Comments
 (0)