mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-29 03:04:38 +08:00
Fix multiline parsing into the REPL
This commit is contained in:
1 parent
5d2d87c24f
commit
3087d48f09
1 file changed
+3
@@ -81,6 +81,9 @@ mod rustyline_readline {
|
||||
.tab_stop(8)
|
||||
.build(),
|
||||
);
|
||||
// Parse multiple lines correctly
|
||||
repl.bind_sequence(KeyPress::BracketedPasteStart, Cmd::Noop);
|
||||
|
||||
repl.bind_sequence(
|
||||
KeyPress::ControlLeft,
|
||||
Cmd::Move(Movement::BackwardWord(1, Word::Vi)),
|
||||
|
||||
Reference in new issue
Block a user