Revert this, it breaks emacs.

This commit is contained in:
Nicholas Marriott 2008-07-23 23:46:51 +00:00
parent 97212771b5
commit e00736b811
2 changed files with 6 additions and 8 deletions

View File

@ -3,8 +3,6 @@
* Support the numeric keypad. This is really confusing: parts of it have termcap
entries and parts do not. I'm not sure I've got it right but this seems to
work.
* Change arrow keys from \033OA to \033[A to match screen's behaviour rather
than its termcap.
19 July 2008
@ -622,4 +620,4 @@
(including mutt, emacs). No status bar yet and no key remapping or other
customisation.
$Id: CHANGES,v 1.151 2008-07-23 23:44:50 nicm Exp $
$Id: CHANGES,v 1.152 2008-07-23 23:46:51 nicm Exp $

View File

@ -1,4 +1,4 @@
/* $Id: input-keys.c,v 1.11 2008-07-23 23:44:50 nicm Exp $ */
/* $Id: input-keys.c,v 1.12 2008-07-23 23:46:51 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -47,10 +47,10 @@ struct {
{ KEYC_PPAGE, "\033[5~" },
{ KEYC_SELECT, "\033[4~" },
{ KEYC_UP, "\033[A" },
{ KEYC_DOWN, "\033[B" },
{ KEYC_LEFT, "\033[D" },
{ KEYC_RIGHT, "\033[C" },
{ KEYC_UP, "\033OA" },
{ KEYC_DOWN, "\033OB" },
{ KEYC_LEFT, "\033OD" },
{ KEYC_RIGHT, "\033OC" },
{ KEYC_KP0_1, "\033Oo" },
{ KEYC_KP0_2, "\033Oj" },