From aec581084e56177d01161dc3173f6ad6ee7056eb Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Wed, 24 Sep 2003 03:32:23 +0000 Subject: [PATCH] Add even more sequences (for gnome-terminal this time). --- src/key.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/key.c b/src/key.c index 4f8fbde40..466c3f403 100644 --- a/src/key.c +++ b/src/key.c @@ -285,6 +285,16 @@ static key_define_t xterm_key_defines [] = { { KEY_M_CTRL | KEY_RIGHT, ESC_STR "[5C", MCKEY_NOACTION }, { KEY_M_CTRL | KEY_LEFT, ESC_STR "[5D", MCKEY_NOACTION }, + /* newer gnome-terminal */ + { KEY_M_CTRL | KEY_UP, ESC_STR "O5A", MCKEY_NOACTION }, + { KEY_M_CTRL | KEY_DOWN, ESC_STR "O5B", MCKEY_NOACTION }, + { KEY_M_CTRL | KEY_RIGHT, ESC_STR "O5C", MCKEY_NOACTION }, + { KEY_M_CTRL | KEY_LEFT, ESC_STR "O5D", MCKEY_NOACTION }, + { KEY_M_SHIFT | KEY_M_CTRL | KEY_UP, ESC_STR "O6A", MCKEY_NOACTION }, + { KEY_M_SHIFT | KEY_M_CTRL | KEY_DOWN, ESC_STR "O6B", MCKEY_NOACTION }, + { 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 }, + /* keypad keys */ { KEY_IC, ESC_STR "Op", MCKEY_NOACTION }, { KEY_DC, ESC_STR "On", MCKEY_NOACTION },