]> cloudbase.mooo.com Git - z180-stamp.git/blobdiff - avr/cli_readline.c
Remove memory test and bank manager.
[z180-stamp.git] / avr / cli_readline.c
index 1dbc73b1e027c3687c2086135a21aba853972d05..93a03551e6e376eed90c4e1ed2348f0c24418f4e 100644 (file)
@@ -1,4 +1,6 @@
 /*
+ * (C) Copyright 2014 Leo C. <erbl259-lmu@yahoo.de>
+ *
  * (C) Copyright 2000
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
@@ -10,7 +12,6 @@
  */
 
 #include "common.h"
-
 #include <string.h>
 #include <stdio.h>
 
@@ -560,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;
@@ -591,4 +584,3 @@ int cli_readline(const FLASH char *const prompt)
 
        return cli_readline_into_buffer(prompt, console_buffer);
 }
-