Skip to content

Commit d78c451

Browse files
committed
gh-145398: Bind bracketed paste in the default keymap
Update the normal (non-isearch) keymap to use \<bracketed paste> so it stays consistent with the event queue translation.
1 parent 66c15fe commit d78c451

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/_pyrepl/reader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def make_default_commands() -> dict[CommandName, CommandClass]:
128128
(r"\M-9", "digit-arg"),
129129
(r"\M-\n", "accept"),
130130
("\\\\", "self-insert"),
131-
(r"\x1b[200~", "perform-bracketed-paste"),
131+
(r"\<bracketed paste>", "perform-bracketed-paste"),
132132
(r"\x03", "ctrl-c"),
133133
]
134134
+ [(c, "self-insert") for c in map(chr, range(32, 127)) if c != "\\"]

0 commit comments

Comments
 (0)