Skip to content

Commit 302bf49

Browse files
committed
Fix DELETE key not being recognized
curtsies stopped supporting PADDELETE at this point: thomasballinger/curtsies@4150164 fixes bpython#609
1 parent 69d3480 commit 302bf49

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy