Skip to content

Commit 8e6e9ea

Browse files
committed
unix: Use "Ctrl" as a name of the key, not "CTRL".
1 parent acea935 commit 8e6e9ea

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

unix/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ STATIC char *strjoin(const char *s1, int sep_char, const char *s2) {
154154

155155
STATIC int do_repl(void) {
156156
mp_hal_stdout_tx_str("MicroPython " MICROPY_GIT_TAG " on " MICROPY_BUILD_DATE "; "
157-
MICROPY_PY_SYS_PLATFORM " version\nUse CTRL-D to exit, CTRL-E for paste mode\n");
157+
MICROPY_PY_SYS_PLATFORM " version\nUse Ctrl-D to exit, Ctrl-E for paste mode\n");
158158

159159
#if MICROPY_USE_READLINE == 1
160160

@@ -178,7 +178,7 @@ STATIC int do_repl(void) {
178178
return 0;
179179
} else if (ret == CHAR_CTRL_E) {
180180
// paste mode
181-
mp_hal_stdout_tx_str("\npaste mode; CTRL-C to cancel, CTRL-D to finish\n=== ");
181+
mp_hal_stdout_tx_str("\npaste mode; Ctrl-C to cancel, Ctrl-D to finish\n=== ");
182182
vstr_reset(&line);
183183
for (;;) {
184184
char c = mp_hal_stdin_rx_chr();

0 commit comments

Comments
 (0)