Make home and end work.

This commit is contained in:
Nicholas Marriott 2008-12-22 17:26:51 +00:00
parent db39fd8503
commit b457479904
2 changed files with 8 additions and 4 deletions

View File

@ -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

View File

@ -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 <nicm@users.sourceforge.net>
@ -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 },