mirror of https://github.com/python/cpython
gh-121746: Bind Alt+Enter to "accept" in the REPL (GH-121754)
This commit is contained in:
parent
74fbdcd74a
commit
6522f0e438
|
@ -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…
Reference in New Issue