From 563dd7c61f57617efeaae199b4d421be214c4b9a Mon Sep 17 00:00:00 2001 From: deuce <> Date: Thu, 6 Mar 2003 10:52:09 +0000 Subject: [PATCH] Added HOME and END support --- exec/irc.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/exec/irc.js b/exec/irc.js index 993c791ffd..982e068b46 100644 --- a/exec/irc.js +++ b/exec/irc.js @@ -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++; -- GitLab