aboutsummaryrefslogtreecommitdiff
path: root/stmhal
diff options
context:
space:
mode:
authorTom Soulanille2015-07-09 16:32:36 -0700
committerDamien George2015-07-26 15:22:13 +0100
commit7d588b0c7c9698d23b1e5e7b54e0e2094ad8f464 (patch)
tree716789795d5bb252f2d436b6872d8df9179c52f4 /stmhal
parentcd14188bc8b4cd942ea7ea5cf5eb27955d8695ae (diff)
lib/mp-readline: Add emacs-style control characters for cursor movement.
Disabled by default. Adds 108 bytes to Thumb2 arch when enabled.
Diffstat (limited to 'stmhal')
-rw-r--r--stmhal/mpconfigport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/stmhal/mpconfigport.h b/stmhal/mpconfigport.h
index 8d6031555..a6dba431f 100644
--- a/stmhal/mpconfigport.h
+++ b/stmhal/mpconfigport.h
@@ -39,6 +39,7 @@
#define MICROPY_ENABLE_FINALISER (1)
#define MICROPY_STACK_CHECK (1)
#define MICROPY_HELPER_REPL (1)
+#define MICROPY_REPL_EMACS_KEYS (1)
#define MICROPY_ENABLE_SOURCE_LINE (1)
#define MICROPY_LONGINT_IMPL (MICROPY_LONGINT_IMPL_MPZ)
#define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_FLOAT)