Cheers @JSGauthier!
I also struggle with this issue of having to save before each execution on Python mode, I’d add this only happens if you have multiple tabs (single tab sketches run fine even without saving). I suspect this is a limitation introduced by the way Python mode treats the tabs (as modules, .py files) that are imported from files on disk.
As for the cursor()
issue it seems to have the same issue on Linux, and with any of the special cursors, like CROSS
, & etc. Also, if you try noCursor()
and then cursor(...)
you get stuck with no cursor!