summaryrefslogtreecommitdiff
path: root/avr/cmd_mem.c
diff options
context:
space:
mode:
authorLeo C2016-04-22 11:21:03 +0200
committerLeo C2016-04-22 11:21:03 +0200
commit8ed660166ce9cdeb63b4cf710c663407b7ec9128 (patch)
tree57518c1b7ed4c6f3f28a23e16a6f165b998527f2 /avr/cmd_mem.c
parentc647afca0ab5d67de1c18b52b4e50262fcb73425 (diff)
downloadz180-stamp-8ed660166ce9cdeb63b4cf710c663407b7ec9128.zip
Store only command line input in history buffer, but not data (i.e mm command)
Diffstat (limited to 'avr/cmd_mem.c')
-rw-r--r--avr/cmd_mem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/avr/cmd_mem.c b/avr/cmd_mem.c
index effa416..a725c61 100644
--- a/avr/cmd_mem.c
+++ b/avr/cmd_mem.c
@@ -4,7 +4,7 @@
* (C) Copyright 2000
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*
- * SPDX-License-Identifier: GPL-2.0+
+ * SPDX-License-Identifier: GPL-2.0
*/
/*
@@ -151,7 +151,7 @@ mod_mem(cmd_tbl_t *cmdtp, int incrflag, int flag, int argc, char * const argv[])
z80_bus_cmd(Release);
printf_P(PSTR("%05lx: %02x"), addr, data);
- nbytes = cli_readline(PSTR(" ? "));
+ nbytes = cli_readline(PSTR(" ? "), 0);
if (nbytes == 0 || (nbytes == 1 && console_buffer[0] == '-')) {
/* <CR> pressed as only input, don't modify current
* location and move to next. "-" pressed will go back.