I've just tested and the issue is the Ctrl+C that gets sent on connect. It breaks out of the CC3000's SPI transmit and then causes all kinds of pain.
You can just remove the \x03 from espruino_process.js and it'll fix this. I guess I need to implement some way of clearing the current line without Ctrl-C. Any ideas for key combinations that aren't as brutal as Ctrl-C, but that you'd still expect to clear the line?
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.
I've just tested and the issue is the Ctrl+C that gets sent on connect. It breaks out of the CC3000's SPI transmit and then causes all kinds of pain.
You can just remove the
\x03
from espruino_process.js and it'll fix this. I guess I need to implement some way of clearing the current line without Ctrl-C. Any ideas for key combinations that aren't as brutal as Ctrl-C, but that you'd still expect to clear the line?