Idea
It would be great if the user could get out of safemode from the editor interface.
Current Situation
Pressing Ctrl-D in the REPL just restarts safemode, which warns the user they should use the reset button on their board.
Pico doesn't have a reset button, so that's one reason this came to my attention recently.
The main thing this helps with though is with Web Workflow. (BLE too!) As when working over wifi workflow it's not always convenient to physically access the device to unplug and replug it (or reset it with button).
Solution
Detect the REPL is in safemode when doing a restart, and if so (maybe if they click it twice? is there a good reason to want safemode to reload back in safemode?) then offer a dialog to the user stating the device is in safemode, and would they like to instead reset the board (we'll log something to REPL and run import microcontroller;microcontroller.reset for them).
This would be more beneficial to the USB workflow once USB reconnection can be achieved (see PR:add onDeviceLostCallback to recover lost device #212 - issue raised in this repo here: #406 ).