Handle backspace within program inputs.