Skip to content
Snippets Groups Projects
Commit 563dd7c6 authored by deuce's avatar deuce
Browse files

Added HOME and END support

parent 9e85dfd8
No related branches found
No related tags found
No related merge requests found
......@@ -1281,6 +1281,14 @@ function Screen_handle_key(key) {
}
this.update_input_line();
break;
case "\x02": // Home
this.input_pos=0;
this.update_input_line()
break;
case "\x05": // End
this.input_pos=this.input_buffer.length;
this.update_input_line()
break;
case "\x06": // right arrow
if(this.input_pos < (this.input_buffer.length)) {
this.input_pos++;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment