Commit 77c3c4ff authored by deuce's avatar deuce
Browse files

Make DEL (0x7F) work the same as Backspace (0x08) since that seems to be the

most common problem for people using it.

They're likely to have other problems as well, but that's not my problem.
parent 01a7a558
......@@ -1347,6 +1347,7 @@ function Screen_handle_key(key) {
this.input_pos=0;
this.update_input_line();
break;
case "\x7f":
case "\x08":
if(this.input_pos > 0) {
this.input_buffer=this.input_buffer.slice(0,this.input_pos-1)+this.input_buffer.slice(this.input_pos);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment