diff -uri mc-4.8.17/lib/tty/key.c mc-4.8.17.new/lib/tty/key.c
old
|
new
|
|
129 | 129 | {KEY_DOWN, "down", N_("Down arrow"), "Down"}, |
130 | 130 | {KEY_LEFT, "left", N_("Left arrow"), "Left"}, |
131 | 131 | {KEY_RIGHT, "right", N_("Right arrow"), "Right"}, |
| 132 | {KEY_KP5, "kp5", N_("keypad 5"), "KP5"}, |
132 | 133 | {KEY_IC, "insert", N_("Insert"), "Ins"}, |
133 | 134 | {KEY_DC, "delete", N_("Delete"), "Del"}, |
134 | 135 | {KEY_HOME, "home", N_("Home"), "Home"}, |
… |
… |
|
280 | 281 | {ESC_CHAR, ESC_STR ESC_STR, MCKEY_NOACTION}, |
281 | 282 | {MCKEY_BRACKETED_PASTING_START, ESC_STR "[200~", MCKEY_NOACTION}, |
282 | 283 | {MCKEY_BRACKETED_PASTING_END, ESC_STR "[201~", MCKEY_NOACTION}, |
| 284 | {KEY_KP5, ESC_STR "[G", MCKEY_NOACTION}, |
283 | 285 | {0, NULL, MCKEY_NOACTION}, |
284 | 286 | }; |
285 | 287 | |
diff -uri mc-4.8.17/lib/tty/tty-slang.h mc-4.8.17.new/lib/tty/tty-slang.h
old
|
new
|
|
34 | 34 | KEY_BACKSPACE = 400, |
35 | 35 | KEY_END, KEY_UP, KEY_DOWN, KEY_LEFT, KEY_RIGHT, |
36 | 36 | KEY_HOME, KEY_A1, KEY_C1, KEY_NPAGE, KEY_PPAGE, KEY_IC, |
37 | | KEY_ENTER, KEY_DC, KEY_SCANCEL, KEY_BTAB |
| 37 | KEY_ENTER, KEY_DC, KEY_SCANCEL, KEY_BTAB, KEY_KP5 |
38 | 38 | }; |
39 | 39 | |
40 | 40 | /*** structures declarations (and typedefs of structures)*****************************************/ |