Add backspace functionality in shell

So we can use backspace to white out the typo.
Qemu uses DEL (^?, `\x7F`) for a backspace instead of BS (^H, `\x08`).
Can you please change the test to `(c == 0x08) || (c == 0x7f))`?