Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit b73b2d90 authored by deuce's avatar deuce

A delete at the end of line will act line a backspace just to confuse

and irritate people who send DEL when backspace is pressed (same as getstr())
parent c23b07a0
......@@ -1351,8 +1351,9 @@ function Screen_handle_key(key) {
if(this.input_buffer.length > this.input_pos) {
this.input_buffer=this.input_buffer.slice(0,this.input_pos)+this.input_buffer.slice(this.input_pos+1);
this.update_input_line();
break;
}
break;
/* Fall-through - delete at end of line is backspace */
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