diff options
| author | Damien George <damien@micropython.org> | 2023-05-11 13:24:14 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2023-05-22 14:13:24 +1000 |
| commit | 2771b20d29569bf51ea841a804a66048efde1593 (patch) | |
| tree | d8ccb18fd61d4cd2e06bb5fddd58c9a76d5fff93 /py/persistentcode.c | |
| parent | a802f719085d52f61bd08908de298f92d226be0b (diff) | |
tools/mpremote: Add repl option to escape non-printable characters.
This commit adds the "--escape-non-printable" option to the repl command.
When specified the REPL console will escape non-printable characters,
printing them as their hex value in square brackets.
This escaping behaviour was previously the default and only behaviour, but
it is now opt-in.
As part of this change, the speed of echoing device data to the console is
improved by by reading and writing in chunks.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py/persistentcode.c')
0 files changed, 0 insertions, 0 deletions
