dhylands / upy-shell

MicroPython shell
MIT License
37 stars 9 forks source link

Line wrap overwrites current line #4

Open peterhinch opened 9 years ago

peterhinch commented 9 years ago

If you type a line whose length exceeeds the width of the terminal window the cursor moves to the start of the current line rather than advancing to a new line. (CR rather than CR LF).

dhylands commented 9 years ago

Is this for shell.py or rshell.py? If for rshell.py is it when in regular command mode? Or when using the repl?

peterhinch commented 9 years ago

rshell.py in regular command mode, running in a Bash terminal window under Python 3.4.3. Another point relating to long lines: if you try to prevent wrapping by enlarging the Bash window rshell takes no notice. For subsequent commands it continues to behave as if the window were still the size it was before enlargement. It would be great if it behaved in the same way as Bash which presumably checks the window size repeatedly.