Page 3 of 3

Re: Using webrepl instead of USB connection with Thonny IDE

Posted: Fri Nov 20, 2020 5:02 pm
by laukejas
aivarannamaa wrote:
Fri Nov 20, 2020 3:58 pm
laukejas wrote:
Fri Nov 20, 2020 3:24 pm
Pressing "Open system shell" opens the shell, but I don't think WebREPL is running. All I'm seeing is plain command line, waiting for regular inputs, not like WebREPL. Am I missing some dependency or something?
Oops, I forgot that we were talking about WebREPL. In this case I can't offer any work-arounds at the moment.
laukejas wrote:
Fri Nov 20, 2020 3:24 pm
Also, I am not quite sure I understand what you meant by "send your keystrokes in normal way", could you please explain?
I meant just pressing the keys in terminal window and doing sys.stdin.read(1) in your MicroPython code. But at the moment Thonny provides terminal window for MicroPython REPL only via serial connection.
Understood... That's really unfortunate. Thank you for your time, though. Perhaps this functionality could be something you might consider for the future versions of Thonny, if it's not too difficult to implement?

Re: Using webrepl instead of USB connection with Thonny IDE

Posted: Fri Nov 20, 2020 5:42 pm
by aivarannamaa
laukejas wrote:
Fri Nov 20, 2020 5:02 pm
Perhaps this functionality could be something you might consider for the future versions of Thonny, if it's not too difficult to implement?
I added this to my TODO list: https://github.com/thonny/thonny/issues/1439

Re: Using webrepl instead of USB connection with Thonny IDE

Posted: Fri Nov 20, 2020 5:53 pm
by laukejas
aivarannamaa wrote:
Fri Nov 20, 2020 5:42 pm
laukejas wrote:
Fri Nov 20, 2020 5:02 pm
Perhaps this functionality could be something you might consider for the future versions of Thonny, if it's not too difficult to implement?
I added this to my TODO list: https://github.com/thonny/thonny/issues/1439
Awesome, thank you very much!