Thanks for your replies. @Gordon: Yes, it is mostly when starting a small "session" after a while. I agree with your concerns about accidentially pasted code, that's why I didn't just suggest it as enhancement.
And for the exactly same reason the example has \x1f instead of \x02 (Ctrl-b). @Wilberforce: E.getTemperature was just an example. I don't always know which code is needed. If it's more than 1 line of code the only safe way is to send echo(0) first.
Although I'm able to make code changes I don't want to run propriatary code builds. A year from now I might have lost interest in making own Espruino builds (not in Espruino) - then I'll loose either the official Espruino improvements or my propriatary enhancements.
So I'll continue wasting 20 bytes with each session :)
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Thanks for your replies.
@Gordon: Yes, it is mostly when starting a small "session" after a while. I agree with your concerns about accidentially pasted code, that's why I didn't just suggest it as enhancement.
And for the exactly same reason the example has \x1f instead of \x02 (Ctrl-b).
@Wilberforce: E.getTemperature was just an example. I don't always know which code is needed. If it's more than 1 line of code the only safe way is to send echo(0) first.
Although I'm able to make code changes I don't want to run propriatary code builds. A year from now I might have lost interest in making own Espruino builds (not in Espruino) - then I'll loose either the official Espruino improvements or my propriatary enhancements.
So I'll continue wasting 20 bytes with each session :)