mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
gh-121746: Bind Alt+Enter to "accept" in the REPL (GH-121754)
This commit is contained in:
parent
74fbdcd74a
commit
6522f0e438
2 changed files with 2 additions and 1 deletions
|
@ -130,7 +130,7 @@ default_keymap: tuple[tuple[KeySpec, CommandName], ...] = tuple(
|
|||
(r"\M-7", "digit-arg"),
|
||||
(r"\M-8", "digit-arg"),
|
||||
(r"\M-9", "digit-arg"),
|
||||
# (r'\M-\n', 'insert-nl'),
|
||||
(r"\M-\n", "accept"),
|
||||
("\\\\", "self-insert"),
|
||||
(r"\x1b[200~", "enable_bracketed_paste"),
|
||||
(r"\x1b[201~", "disable_bracketed_paste"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue