Add even more sequences (for gnome-terminal this time).

This commit is contained in:
Pavel Roskin 2003-09-24 03:32:23 +00:00
parent 60c275f0c3
commit aec581084e

View File

@ -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_RIGHT, ESC_STR "[5C", MCKEY_NOACTION },
{ KEY_M_CTRL | KEY_LEFT, ESC_STR "[5D", 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 */ /* keypad keys */
{ KEY_IC, ESC_STR "Op", MCKEY_NOACTION }, { KEY_IC, ESC_STR "Op", MCKEY_NOACTION },
{ KEY_DC, ESC_STR "On", MCKEY_NOACTION }, { KEY_DC, ESC_STR "On", MCKEY_NOACTION },