Skip to content

Commit c7b4984

Browse files
Merge pull request RustPython#161 from azmeuk/5>
Restored the 5> in the repl prompt
2 parents c4bdb63 + ba9483d commit c7b4984

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Or use the interactive shell:
1717

1818
$ cargo run
1919
Welcome to rustpython
20-
>>> 2+2
20+
>>>>> 2+2
2121
4
2222

2323
<!-- Or use pip to install extra modules:

src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ fn run_shell(vm: &mut VirtualMachine) -> PyResult {
162162
// Err(_) => ">>>>> ".to_string(),
163163
//};
164164

165-
match rl.readline(">>> ") {
165+
match rl.readline(">>>>> ") {
166166
Ok(line) => {
167167
input.push_str(&line);
168168
input.push_str("\n");
@@ -179,7 +179,7 @@ fn run_shell(vm: &mut VirtualMachine) -> PyResult {
179179
// Ok(value) => objstr::get_value(&value),
180180
// Err(_) => "..... ".to_string(),
181181
//};
182-
match rl.readline("... ") {
182+
match rl.readline("..... ") {
183183
Ok(line) => {
184184
if line.len() == 0 {
185185
if shell_exec(vm, &input, vars.clone()) {

0 commit comments

Comments
 (0)