summaryrefslogtreecommitdiff
path: root/py/persistentcode.c
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2023-05-11 13:24:14 +1000
committerDamien George <damien@micropython.org>2023-05-22 14:13:24 +1000
commit2771b20d29569bf51ea841a804a66048efde1593 (patch)
treed8ccb18fd61d4cd2e06bb5fddd58c9a76d5fff93 /py/persistentcode.c
parenta802f719085d52f61bd08908de298f92d226be0b (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