supporting backspace function and hot keys to move the cursor

*The arrow keys are not support as well in this update