Closed
Description
Describe the bug
What is the problem?
REPL history is corrupt after soft reset.
To reproduce
Steps to reproduce the behavior:
- Connect to hub and start REPL in Pybricks Code
- Type in some code and press enter
- Press the up arrow key to retrieve the previous line from this history
- Press the stop button to do a soft reset
- Start the REPL again
- Press the up arrow key in the terminal
- Get garbage printed in the terminal
Expected behavior
What did you expect to happen instead?
Soft reset should either preserve history or reset history length back to zero.
Screenshots
There is a saying that a picture is worth a 1000 words. Screenshots really help to identify and solve problems.