fixed handling of control-left and control-right arrows and the backspace key, which are inconsistent across terminals