X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/blobdiff_plain/35edb766593d019b89a3f40b6d6cdd2b50f18032..e4c4b148ced1347935dff6200380e90cb3bfcde3:/avr/cli_readline.c?ds=sidebyside diff --git a/avr/cli_readline.c b/avr/cli_readline.c index 04d32b1..93a0355 100644 --- a/avr/cli_readline.c +++ b/avr/cli_readline.c @@ -12,7 +12,6 @@ */ #include "common.h" - #include #include @@ -562,16 +561,8 @@ static int cli_readline_into_buffer(const FLASH char *const prompt, char *buffer my_puts_P(tab_seq + (col & 07)); col += 8 - (col & 07); } else { - char buf[2]; - - /* - * Echo input using puts() to force an - * LCD flush if we are using an LCD - */ ++col; - buf[0] = c; - buf[1] = '\0'; - my_puts(buf); + putchar(c); } *p++ = c; ++n;