8000 lib/pyexec: For paste mode use "Ctrl" as the name of the key, not "CT… · lapsule/micropython@dde0c20 · GitHub
[go: up one dir, main page]

Skip to content

Commit dde0c20

Browse files
committed
lib/pyexec: For paste mode use "Ctrl" as the name of the key, not "CTRL".
1 parent c76fe77 commit dde0c20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/utils/pyexec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ int pyexec_friendly_repl(void) {
410410
return PYEXEC_FORCED_EXIT;
411411
} else if (ret == CHAR_CTRL_E) {
412412
// paste mode
413-
mp_hal_stdout_tx_str("\r\npaste mode; CTRL-C to cancel, CTRL-D to finish\r\n=== ");
413+
mp_hal_stdout_tx_str("\r\npaste mode; Ctrl-C to cancel, Ctrl-D to finish\r\n=== ");
414414
vstr_reset(&line);
415415
for (;;) {
416416
char c = mp_hal_stdin_rx_chr();

0 commit comments

Comments
 (0)
0