Browse Source

stmhal: Enable REPL auto indent; document paste mode in help().

pull/1496/merge
Damien George 9 years ago
parent
commit
6206f431cf
  1. 1
      stmhal/help.c
  2. 1
      stmhal/mpconfigport.h

1
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"
;

1
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)

Loading…
Cancel
Save