The connection is reset when switching focus (changing tab or window for example).
It is a pain to debug something.
How To Reproduce
Steps to reproduce the behavior:
Click on "Show serial"
Type something: "import sys"
Change tab
Module "sys" is not loaded anymore (micro:bit has reset) and all the content is cleared
Expected behavior
Same behavior from previous version: https://python.microbit.org/v/2.
Please note that on the old version the serial is closed only when clicking on the button "Close Serial".
Bug Description
The connection is reset when switching focus (changing tab or window for example). It is a pain to debug something.
How To Reproduce
Steps to reproduce the behavior:
Expected behavior
Same behavior from previous version: https://python.microbit.org/v/2. Please note that on the old version the serial is closed only when clicking on the button "Close Serial".
Environment
Desktop: