diff options
Diffstat (limited to 'demo')
| -rw-r--r-- | demo/console.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demo/console.c b/demo/console.c index d2d13fa..04678f1 100644 --- a/demo/console.c +++ b/demo/console.c @@ -210,7 +210,7 @@ void irq(void) switch (c) { case 0x7f: // DEL if (input_len > 0) { - --input_len; + input_buf[--input_len] = '\0'; print_str("\b \b"); } |
