diff options
author | Damien George <damien.p.george@gmail.com> | 2015-11-03 00:33:56 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-11-03 00:33:56 +0000 |
commit | dde0c204e7305d67dc328090b5399f2883a4f423 (patch) | |
tree | d7884f566facf0705303e8835d00993a3b6d4732 /lib/utils/pyexec.c | |
parent | c76fe77f4228568873a9229aba9d5b52170f90a3 (diff) | |
download | micropython-dde0c204e7305d67dc328090b5399f2883a4f423.tar.gz micropython-dde0c204e7305d67dc328090b5399f2883a4f423.zip |
lib/pyexec: For paste mode use "Ctrl" as the name of the key, not "CTRL".
Diffstat (limited to 'lib/utils/pyexec.c')
-rw-r--r-- | lib/utils/pyexec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utils/pyexec.c b/lib/utils/pyexec.c index 116a41d352..abf74d6db9 100644 --- a/lib/utils/pyexec.c +++ b/lib/utils/pyexec.c @@ -410,7 +410,7 @@ friendly_repl_reset: return PYEXEC_FORCED_EXIT; } else if (ret == CHAR_CTRL_E) { // paste mode - mp_hal_stdout_tx_str("\r\npaste mode; CTRL-C to cancel, CTRL-D to finish\r\n=== "); + mp_hal_stdout_tx_str("\r\npaste mode; Ctrl-C to cancel, Ctrl-D to finish\r\n=== "); vstr_reset(&line); for (;;) { char c = mp_hal_stdin_rx_chr(); |