diff options
| author | Damien George | 2015-10-11 23:33:46 +0100 |
|---|---|---|
| committer | Damien George | 2015-10-11 23:33:46 +0100 |
| commit | 6206f431cf50741f633762dac185421e4c4f1a0d (patch) | |
| tree | 14f66c8800a3b6d813962bfc1217f0299bc44379 /stmhal | |
| parent | 46a11028521425e7d6c85458c849bb96ff82152e (diff) | |
stmhal: Enable REPL auto indent; document paste mode in help().
Diffstat (limited to 'stmhal')
| -rw-r--r-- | stmhal/help.c | 1 | ||||
| -rw-r--r-- | stmhal/mpconfigport.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/stmhal/help.c b/stmhal/help.c index 3d9656c63..2a86a9785 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 100c66f98..64dc18f4d 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) |
