Problem with cursor keys with VScode
Posted: Fri Apr 12, 2019 8:55 am
Hi,All
I have Micropython correctly installed on my LOLIN/ Wemos D1 Mini and am using Visual Studio Code to program it. When I open the terminal I am met with a command line and I type this and hit return :-
C:\Users\andy>python -m serial.tools.miniterm COM3 115200
--- Miniterm on COM3 115200,8,N,1 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
>>>
All is well until I try to use the cursor keys, and then I get upper case characters like this :-
>>> KHPHPMMMKKKPPMMHKM
and if I use the backspace and delete keys I also get strange characters :-
>>> ␛[KSS␛[␛[␛[KSSSSSS␛[␛[␛[␛[␛[␛[␛[KOOOIIQ␛[K
Has anyone got any thoughts on what I'm doing wrong as I'm not sure what to do next?
Andy
I have Micropython correctly installed on my LOLIN/ Wemos D1 Mini and am using Visual Studio Code to program it. When I open the terminal I am met with a command line and I type this and hit return :-
C:\Users\andy>python -m serial.tools.miniterm COM3 115200
--- Miniterm on COM3 115200,8,N,1 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
>>>
All is well until I try to use the cursor keys, and then I get upper case characters like this :-
>>> KHPHPMMMKKKPPMMHKM
and if I use the backspace and delete keys I also get strange characters :-
>>> ␛[KSS␛[␛[␛[KSSSSSS␛[␛[␛[␛[␛[␛[␛[KOOOIIQ␛[K
Has anyone got any thoughts on what I'm doing wrong as I'm not sure what to do next?
Andy