From b4574799045717affdf32263091af01a969d498a Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 22 Dec 2008 17:26:51 +0000 Subject: [PATCH] Make home and end work. --- CHANGES | 6 +++++- input-keys.c | 6 +++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGES b/CHANGES index 0fb8fd10..386dba16 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,7 @@ +22 December 2008 + +* Use the right keys for home and end. + 20 December 2008 * Add vim mode for tmux configuration file to examples/, from Tiago Cunha. @@ -788,7 +792,7 @@ (including mutt, emacs). No status bar yet and no key remapping or other customisation. -$Id: CHANGES,v 1.175 2008-12-20 09:09:57 nicm Exp $ +$Id: CHANGES,v 1.176 2008-12-22 17:26:51 nicm Exp $ LocalWords: showw utf UTF fulvio ciriaco joshe OSC APC gettime abc DEF OA clr LocalWords: rivo nurges lscm Erdely eol smysession mysession ek dstname RB diff --git a/input-keys.c b/input-keys.c index 190e8a39..69e0f859 100644 --- a/input-keys.c +++ b/input-keys.c @@ -1,4 +1,4 @@ -/* $Id: input-keys.c,v 1.14 2008-07-24 21:42:40 nicm Exp $ */ +/* $Id: input-keys.c,v 1.15 2008-12-22 17:26:51 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -43,12 +43,12 @@ struct { { KEYC_F10, "\033[21~", 0 }, { KEYC_F11, "\033[23~", 0 }, { KEYC_F12, "\033[24~", 0 }, - { KEYC_FIND, "\033[1~", 0 }, { KEYC_DC, "\033[3~", 0 }, { KEYC_IC, "\033[2~", 0 }, { KEYC_NPAGE, "\033[6~", 0 }, { KEYC_PPAGE, "\033[5~", 0 }, - { KEYC_SELECT, "\033[4~", 0 }, + { KEYC_HOME, "\033[1~", 0 }, + { KEYC_END, "\033[4~", 0 }, /* Arrow keys. Cursor versions must come first. */ { KEYC_UP, "\033OA", INPUTKEY_CURSOR },