From ca2078a6add5f78bd30a7486ea52d30b95d863b3 Mon Sep 17 00:00:00 2001 From: Pavel Tsekov Date: Sun, 5 Feb 2006 15:27:49 +0000 Subject: [PATCH] * src/key.c (xterm_key_defines): Add sequences for iTerm. --- src/ChangeLog | 4 ++++ src/key.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 22cc72090..697afe075 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2006-02-05 Arpad Gereoffy (A'rpi) + + * key.c (xterm_key_defines): Add sequences for iTerm. + 2006-02-04 Roland Illig * find.c: Added make_fullname() to avoid code duplication. diff --git a/src/key.c b/src/key.c index 1844dde13..95825e91c 100644 --- a/src/key.c +++ b/src/key.c @@ -304,6 +304,10 @@ static key_define_t xterm_key_defines [] = { { KEY_M_SHIFT | KEY_M_CTRL | KEY_RIGHT, ESC_STR "O6C", MCKEY_NOACTION }, { KEY_M_SHIFT | KEY_M_CTRL | KEY_LEFT, ESC_STR "O6D", MCKEY_NOACTION }, + /* iTerm */ + { KEY_M_SHIFT | KEY_PPAGE, ESC_STR "[5;2~", MCKEY_NOACTION }, + { KEY_M_SHIFT | KEY_NPAGE, ESC_STR "[6;2~", MCKEY_NOACTION }, + /* keypad keys */ { KEY_IC, ESC_STR "Op", MCKEY_NOACTION }, { KEY_DC, ESC_STR "On", MCKEY_NOACTION },