Closed fanoush closed 2 months ago
However maybe this is already deprecated? When it is enabled it slows down upload to USB devices that otherwise work fine with XON/XOFF and upload much faster.
Wow, interesting, thanks! I think it might be worth looking at why line numbers are being added here though, as they shouldn't really - that's just for when uploading to RAM. I guess when uploading to flash, line numbers should really be added only when the code is pretokenised (or maybe we just shouldn't bother)
...looking into this now
Line number setting which is by default true adds something to the beginning and line does not end with semicolon, fix regex to match both issues. Currently for me storage upload via --storage name:name contains something like
\u0010\u001b[83drequire(\"Storage\").write(
and line ends with something like"),31872)\n
.