When connecting to Espruino programmatically I send for example
This works well, but besides looking a little ugly it is a big waste when connected over BLE.
If the were a key, say \x1f, that makes jsiHandleChar
- delete the current line like Ctrl-U (\x15)
- turn echo off permanently until re-enabled by echo(1)
the command sent became
This saves 9 bytes (almost halve of one BLE packet's payload, and probably a little overhead for parsing and interpreting the echo(0) call.
Is this something to consider as an enhancement?