Skip to content
Discussion options

You must be logged in to vote

This is a tricky one because not everyone may want to do the same thing.

For example, it would actually make the most sense for CTRL+C to send CTRL+C to the MicroPython runtime on the hub if a program is running. And CTRL+D should act as the stop signal. And there probably yet another key combination that disconnects pybricksdev without ending the program. Not sure what the keyboard shortcut for this would be though.

All of this hinges on piping stdin from the terminal on your computer to stdin on the hub. This has proved quite difficult to do in pybricksdev using asyncio in a way that is cross-platform. But it is something that is on my radar.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@BertLindeman
Comment options

Answer selected by BertLindeman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants