summaryrefslogtreecommitdiff
path: root/terminal
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2015-05-24 04:00:01 +0200
committerMichal Idziorek <m.i@gmx.at>2015-05-24 04:00:01 +0200
commit1b64f1e69bfbffc0e70ba3a1baff00ed3fd8cb51 (patch)
treeff2a2deeb3e4184756d6883d3ac3c08cc42aa795 /terminal
parentfbbbc75200008e2b603e5b7df8cd2e1a5d17483b (diff)
experimenting with brand new gaming mode
Diffstat (limited to 'terminal')
-rw-r--r--terminal/terminal.c2
1 files changed, 1 insertions, 1 deletions
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--;