From: Urja Rannikko Date: Tue, 25 Jun 2013 15:46:41 +0000 (+0100) Subject: lcd: remove superflous char erase on backspace. Ignore bell. X-Git-Tag: sz_175~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89e9e9fa43ff4462c19175ddbee25b30f711235c;p=pandora-u-boot.git lcd: remove superflous char erase on backspace. Ignore bell. If this breaks something, use "\b \b" like readline in common\main.c Signed-off-by: Urja Rannikko --- diff --git a/common/lcd.c b/common/lcd.c index 66d4f94f9ea..095dfd9a065 100644 --- a/common/lcd.c +++ b/common/lcd.c @@ -163,8 +163,6 @@ static inline void console_back(void) } } - lcd_putc_xy(console_col * VIDEO_FONT_WIDTH, - console_row * VIDEO_FONT_HEIGHT, ' '); } /*----------------------------------------------------------------------*/ @@ -194,6 +192,9 @@ void lcd_putc(const char c) } switch (c) { + case '\a': /* I guess we'll just live without a bell, + we're just an lcd. Todo: visual bell? :P */ + return; case '\r': console_col = 0;