]> cloudbase.mooo.com Git - z180-stamp.git/blobdiff - avr/cmd_boot.c
Store only command line input in history buffer, but not data (i.e mm command)
[z180-stamp.git] / avr / cmd_boot.c
index ce280acf817961dd2cf4e20269cddb610e76ca02..f3bce9d9544e9d5eda4c13591727e4d6acf5dc37 100644 (file)
@@ -241,7 +241,7 @@ command_ret_t do_console(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv
 
                                case ':':
                                                putchar('\n');
-                                               int cmdlen = cli_readline(PSTR(": "));
+                                               int cmdlen = cli_readline(PSTR(": "), 1);
                                                if (cmdlen > 0)
                                                        run_command(console_buffer, 0);
                                        break;