[3.13] gh-121746: Bind Alt+Enter to "accept" in the REPL (GH-121754) (GH-121803)

(cherry picked from commit 6522f0e438)

Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2024-07-15 20:14:50 +02:00 committed by GitHub
parent a2a4f5ebc5
commit 308857b82a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -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"),

View file

@ -1667,6 +1667,7 @@ Fred Sells
Jiwon Seo
Iñigo Serna
Joakim Sernbrant
Rodrigo Girão Serrão
Roger D. Serwy
Jerry Seutter
Pete Sevander