Add backspace functionality in shell

So we can use backspace to white out the typo.