[vte] Revert "emulation: Fix escape sequences of keypad Home and End"



commit bc0ae12c39e8eb110e7805320e98dc35b0fc0901
Author: Christian Persch <chpe gnome org>
Date:   Sun May 11 10:19:12 2014 +0200

    Revert "emulation: Fix escape sequences of keypad Home and End"
    
    This reverts commit cbc73b6d40aa099643cce07400c31028cfaa7e8c.

 src/keymap.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/keymap.c b/src/keymap.c
index b564436..c61d7d8 100644
--- a/src/keymap.c
+++ b/src/keymap.c
@@ -502,7 +502,10 @@ static const struct _vte_keymap_entry _vte_keymap_GDK_KP_Insert[] = {
 
 static const struct _vte_keymap_entry _vte_keymap_GDK_KP_End[] = {
        {cursor_all, keypad_default, fkey_all, 0, X_NULL, 0, "K4"},
+       {cursor_all, keypad_default, fkey_notvt220,
+        0, _VTE_CAP_CSI "4~", -1, X_NULL},
        {cursor_all, keypad_default, fkey_vt220, 0, "1", 1, X_NULL},
+       {cursor_all, keypad_app, fkey_notvt220, 0, _VTE_CAP_CSI "4~", -1, X_NULL},
        {cursor_all, keypad_app, fkey_vt220, 0, _VTE_CAP_SS3 "q", -1, X_NULL},
        {cursor_default, keypad_all, fkey_default, 0, _VTE_CAP_CSI "F", -1, X_NULL},
        {cursor_app, keypad_all, fkey_default, 0, _VTE_CAP_SS3 "F", -1, X_NULL},
@@ -561,7 +564,10 @@ static const struct _vte_keymap_entry _vte_keymap_GDK_KP_Right[] = {
 
 static const struct _vte_keymap_entry _vte_keymap_GDK_KP_Home[] = {
        {cursor_all, keypad_default, fkey_all, 0, X_NULL, 0, "K1"},
+       {cursor_all, keypad_default, fkey_notvt220,
+        0, _VTE_CAP_CSI "1~", -1, X_NULL},
        {cursor_all, keypad_default, fkey_vt220, 0, "7", 1, X_NULL},
+       {cursor_all, keypad_app, fkey_notvt220, 0, _VTE_CAP_CSI "1~", -1, X_NULL},
        {cursor_all, keypad_app, fkey_vt220, 0, _VTE_CAP_SS3 "w", -1, X_NULL},
        {cursor_default, keypad_all, fkey_default, 0, _VTE_CAP_CSI "H", -1, X_NULL},
        {cursor_app, keypad_all, fkey_default, 0, _VTE_CAP_SS3 "H", -1, X_NULL},


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]