summaryrefslogtreecommitdiffstatshomepage
path: root/unix
diff options
context:
space:
mode:
authorTom Soulanille <soul@prama.com>2015-07-09 16:32:36 -0700
committerDamien George <damien.p.george@gmail.com>2015-07-26 15:22:13 +0100
commit7d588b0c7c9698d23b1e5e7b54e0e2094ad8f464 (patch)
tree716789795d5bb252f2d436b6872d8df9179c52f4 /unix
parentcd14188bc8b4cd942ea7ea5cf5eb27955d8695ae (diff)
downloadmicropython-7d588b0c7c9698d23b1e5e7b54e0e2094ad8f464.tar.gz
micropython-7d588b0c7c9698d23b1e5e7b54e0e2094ad8f464.zip
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 'unix')
-rw-r--r--unix/mpconfigport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/unix/mpconfigport.h b/unix/mpconfigport.h
index 9f65bc9295..a004017797 100644
--- a/unix/mpconfigport.h
+++ b/unix/mpconfigport.h
@@ -52,6 +52,7 @@
#define MICROPY_DEBUG_PRINTERS (1)
#define MICROPY_USE_READLINE_HISTORY (1)
#define MICROPY_HELPER_REPL (1)
+#define MICROPY_REPL_EMACS_KEYS (1)
#define MICROPY_HELPER_LEXER_UNIX (1)
#define MICROPY_ENABLE_SOURCE_LINE (1)
#define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_DOUBLE)