mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-09-12 17:45:22 +00:00
23db8f4d9b099c0e0fcfd795376c3333a1b5f80c
When no hub is connected, the terminal input handler loop would get stuck waiting for didWrite or didFailToWrite which would never come because handleWriteUart in ble/sagas only runs when a hub is connected. This is fixed by only dispatching a write action if a user program is running on the hub. By using this state, it also fixes characters being buffered before the user program starts, e.g. - connect hub - type into terminal - no echo - start the repl - previously typed characters are echoed after the repl prompt Now, anything typed before the user program is just ignored. Fixes: https://github.com/pybricks/support/issues/865 Also properly fixes https://github.com/pybricks/support/issues/303
…
…
…
pybricks-code
A Web App for programming LEGO® Powered Up smart hubs using Pybricks MicroPython.
Try it at https://code.pybricks.com or the latest updates https://beta.pybricks.com.
Contributing
If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome.
For more details, see the file CONTRIBUTING.md.
LEGO® is a trademark of the LEGO Group of companies which does not sponsor, authorize or endorse this project.
Languages
TypeScript
90%
JavaScript
7.6%
SCSS
2.1%
HTML
0.2%
Python
0.1%
