Actually, try returning "" from any handlers that you register with register. They should return any bit of the string they were passed that they're not using.
It might actually be that you wanted to register a line handler instead?
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.
Actually, try returning
""
from any handlers that you register withregister
. They should return any bit of the string they were passed that they're not using.It might actually be that you wanted to register a line handler instead?