From 302bf4928e2e9001edaba2d12fd57106218a2389 Mon Sep 17 00:00:00 2001 From: Kevin Le Date: Tue, 19 Apr 2016 11:51:47 -0700 Subject: [PATCH] Fix DELETE key not being recognized curtsies stopped supporting PADDELETE at this point: https://github.com/thomasballinger/curtsies/commit/415016436eb30411acc1a4725aceaab6c00d58c7 fixes #609 --- bpython/curtsiesfrontend/manual_readline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bpython/curtsiesfrontend/manual_readline.py b/bpython/curtsiesfrontend/manual_readline.py index 053a729aa..3849a95b8 100644 --- a/bpython/curtsiesfrontend/manual_readline.py +++ b/bpython/curtsiesfrontend/manual_readline.py @@ -212,7 +212,7 @@ def back_word(cursor_offset, line): return (last_word_pos(line[:cursor_offset]), line) -@edit_keys.on('') +@edit_keys.on('') def delete(cursor_offset, line): return (cursor_offset, line[:cursor_offset] + line[cursor_offset+1:])