From 8ed660166ce9cdeb63b4cf710c663407b7ec9128 Mon Sep 17 00:00:00 2001 From: Leo C Date: Fri, 22 Apr 2016 11:21:03 +0200 Subject: Store only command line input in history buffer, but not data (i.e mm command) --- avr/cmd_mem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'avr/cmd_mem.c') 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] == '-')) { /* pressed as only input, don't modify current * location and move to next. "-" pressed will go back. -- cgit v1.2.3