lib/pyexec: For paste mode use "Ctrl" as the name of the key, not "CTRL".
This commit is contained in:
parent
c76fe77f42
commit
dde0c204e7
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user