Fixed TISTUD-4203: handle backspace character in the console.