From 1b64f1e69bfbffc0e70ba3a1baff00ed3fd8cb51 Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Sun, 24 May 2015 04:00:01 +0200 Subject: experimenting with brand new gaming mode --- terminal/terminal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'terminal') diff --git a/terminal/terminal.c b/terminal/terminal.c index ccea64e..add207a 100644 --- a/terminal/terminal.c +++ b/terminal/terminal.c @@ -309,7 +309,7 @@ bool terminal_put(terminal_tty *tty, uint8_t c) if(c==0x08) //BACKSPACE { - if(tty->x>0&&tty->command_l>0) + if(tty->x>0&&tty->command_l>0||!tty->set_echo) { set_char(tty,tty->x-1,tty->y,' ',tty->fg,tty->bg); tty->x--; -- cgit v1.2.3