diff options
-rw-r--r-- | src/console/ptyc_console_vkcode.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/console/ptyc_console_vkcode.c b/src/console/ptyc_console_vkcode.c index e9606fa..3938046 100644 --- a/src/console/ptyc_console_vkcode.c +++ b/src/console/ptyc_console_vkcode.c @@ -45,10 +45,10 @@ const struct ptyc_vkcode ptyc_vkcode[0x100] = { [VK_ACCEPT] = P0(), [VK_MODECHANGE] = P0(), [VK_SPACE] = P0(), - [VK_PRIOR] = P0(), - [VK_NEXT] = P0(), - [VK_END] = P0(), - [VK_HOME] = P0(), + [VK_PRIOR] = P4(0x1b,0x5b,0x35,0x7e), + [VK_NEXT] = P4(0x1b,0x5b,0x36,0x7e), + [VK_END] = P3(0x1b,0x5b,0x46), + [VK_HOME] = P3(0x1b,0x5b,0x48), [VK_LEFT] = P3(0x1b,0x5b,0x44), [VK_UP] = P3(0x1b,0x5b,0x41), [VK_RIGHT] = P3(0x1b,0x5b,0x43), @@ -57,8 +57,8 @@ const struct ptyc_vkcode ptyc_vkcode[0x100] = { [VK_PRINT] = P0(), [VK_EXECUTE] = P0(), [VK_SNAPSHOT] = P0(), - [VK_INSERT] = P0(), - [VK_DELETE] = P0(), + [VK_INSERT] = P4(0x1b,0x5b,0x32,0x7e), + [VK_DELETE] = P4(0x1b,0x5b,0x33,0x7e), [VK_HELP] = P0(), [VK_LWIN] = P0(), [VK_RWIN] = P0(), |