lib/pyexec: For paste mode use "Ctrl" as the name of the key, not "CTRL".

pull/1580/head
Damien George 2015-11-03 00:33:56 +00:00
rodzic c76fe77f42
commit dde0c204e7
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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();