diff options
author | Tom Soulanille <soul@prama.com> | 2015-07-09 16:32:36 -0700 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-07-26 15:22:13 +0100 |
commit | 7d588b0c7c9698d23b1e5e7b54e0e2094ad8f464 (patch) | |
tree | 716789795d5bb252f2d436b6872d8df9179c52f4 /unix | |
parent | cd14188bc8b4cd942ea7ea5cf5eb27955d8695ae (diff) | |
download | micropython-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.h | 1 |
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) |