diff --git a/stmhal/help.c b/stmhal/help.c index 3d9656c63c..2a86a97855 100644 --- a/stmhal/help.c +++ b/stmhal/help.c @@ -67,6 +67,7 @@ STATIC const char *help_text = " CTRL-B -- on a blank line, enter normal REPL mode\n" " CTRL-C -- interrupt a running program\n" " CTRL-D -- on a blank line, do a soft reset of the board\n" +" CTRL-E -- on a blank line, enter paste mode\n" "\n" "For further help on a specific object, type help(obj)\n" ; diff --git a/stmhal/mpconfigport.h b/stmhal/mpconfigport.h index 100c66f982..64dc18f4dd 100644 --- a/stmhal/mpconfigport.h +++ b/stmhal/mpconfigport.h @@ -40,6 +40,7 @@ #define MICROPY_STACK_CHECK (1) #define MICROPY_HELPER_REPL (1) #define MICROPY_REPL_EMACS_KEYS (1) +#define MICROPY_REPL_AUTO_INDENT (1) #define MICROPY_ENABLE_SOURCE_LINE (1) #define MICROPY_LONGINT_IMPL (MICROPY_LONGINT_IMPL_MPZ) #define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_FLOAT)