We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3dfb4f commit 577b9c7Copy full SHA for 577b9c7
bpython/curtsiesfrontend/repl.py
@@ -594,9 +594,12 @@ def process_key_event(self, e):
594
if self.stdin.has_focus:
595
return self.stdin.process_event(e)
596
597
- if (e in ("<RIGHT>", '<Ctrl-f>', '<Ctrl-e>') and
598
- self.config.curtsies_right_arrow_completion and
599
- self.cursor_offset == len(self.current_line)):
+ if (e in (key_dispatch[self.config.right_key] +
+ key_dispatch[self.config.end_of_line_key] +
+ ("<RIGHT>",))
600
+ and self.config.curtsies_right_arrow_completion
601
+ and self.cursor_offset == len(self.current_line)):
602
+
603
self.current_line += self.current_suggestion
604
self.cursor_offset = len(self.current_line)
605
elif e in ("<UP>",) + key_dispatch[self.config.up_one_line_key]:
0 commit comments