Fix backspace in terminal.