]> cloudbase.mooo.com Git - z180-stamp.git/blobdiff - include/config.h
Move command line history from heap to a fixed-sized char array
[z180-stamp.git] / include / config.h
index b56b31670eced9b8b69a0e3adfc0f9904415c93a..630e175cc78de55a8c7594118eff899a31158410 100644 (file)
@@ -64,6 +64,7 @@
 #define CONFIG_SYS_HIST_MAX    20
 #define CONFIG_SYS_MAXARGS     20
 #define CONFIG_SYS_ENV_NAMELEN 16
+#define CONFIG_SYS_HISTSIZE                    (CONFIG_SYS_CBSIZE*2)
 
 #define CONFIG_SYS_PROMPT                      "-> "
 #define CONFIG_SYS_PROMPT_REPEAT       "=> "