Yes, that's the issue. Espruino checks the CC3000 on idle - and realistically that means that it's spending 99% of it's time waiting for the CC3000, so chances are that when you hit Ctrl+C it'll be in that code.
While I guess it could ignore Ctrl+C while in CC3000 code, it's probably a good thing that you can break out of it if you need to.
I guess the clear line thing is a possibility, but I guess you still risk accidentally resetting the CC3000 - quite often I Ctrl-C on a blank line just out of habit :)
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.
Yes, that's the issue. Espruino checks the CC3000 on idle - and realistically that means that it's spending 99% of it's time waiting for the CC3000, so chances are that when you hit Ctrl+C it'll be in that code.
While I guess it could ignore Ctrl+C while in CC3000 code, it's probably a good thing that you can break out of it if you need to.
I guess the clear line thing is a possibility, but I guess you still risk accidentally resetting the CC3000 - quite often I Ctrl-C on a blank line just out of habit :)