So is the reason that ctrl+c resets the CC3000 instead of clearing the line because there's always something executing related to the CC3000, and ctrl+c is hitting that instead of clearing the line? If so, I missed that bit - that would make more sense.
As for behavior of ctrl+c, what about having it clear the line if there's anything in the line editor - or if there isn't, break out of whatever it's doing.
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.
So is the reason that ctrl+c resets the CC3000 instead of clearing the line because there's always something executing related to the CC3000, and ctrl+c is hitting that instead of clearing the line? If so, I missed that bit - that would make more sense.
As for behavior of ctrl+c, what about having it clear the line if there's anything in the line editor - or if there isn't, break out of whatever it's doing.