8000 Fix multiline parsing into the REPL · RustPython/RustPython@3087d48 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3087d48

Browse files
committed
Fix multiline parsing into the REPL
1 parent 5d2d87c commit 3087d48

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

vm/src/readline.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ mod rustyline_readline {
8181
.tab_stop(8)
8282
.build(),
8383
);
84+
// Parse multiple lines correctly
85+
repl.bind_sequence(KeyPress::BracketedPasteStart, Cmd::Noop);
86+
8487
repl.bind_sequence(
8588
KeyPress::ControlLeft,
8689
Cmd::Move(Movement::BackwardWord(1, Word::Vi)),

0 commit comments

Comments
 (0)
0