mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
[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:
parent
a2a4f5ebc5
commit
308857b82a
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-7", "digit-arg"),
|
||||||
(r"\M-8", "digit-arg"),
|
(r"\M-8", "digit-arg"),
|
||||||
(r"\M-9", "digit-arg"),
|
(r"\M-9", "digit-arg"),
|
||||||
# (r'\M-\n', 'insert-nl'),
|
(r"\M-\n", "accept"),
|
||||||
("\\\\", "self-insert"),
|
("\\\\", "self-insert"),
|
||||||
(r"\x1b[200~", "enable_bracketed_paste"),
|
(r"\x1b[200~", "enable_bracketed_paste"),
|
||||||
(r"\x1b[201~", "disable_bracketed_paste"),
|
(r"\x1b[201~", "disable_bracketed_paste"),
|
||||||
|
|
|
@ -1667,6 +1667,7 @@ Fred Sells
|
||||||
Jiwon Seo
|
Jiwon Seo
|
||||||
Iñigo Serna
|
Iñigo Serna
|
||||||
Joakim Sernbrant
|
Joakim Sernbrant
|
||||||
|
Rodrigo Girão Serrão
|
||||||
Roger D. Serwy
|
Roger D. Serwy
|
||||||
Jerry Seutter
|
Jerry Seutter
|
||||||
Pete Sevander
|
Pete Sevander
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue