Added backspace functions to cli