[vte/vte-0-36] emulation: Fix escape sequences of keypad Home and End (take 2)
- From: Egmont Koblinger <egmontkob src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte/vte-0-36] emulation: Fix escape sequences of keypad Home and End (take 2)
- Date: Thu, 15 May 2014 18:08:17 +0000 (UTC)
commit 1f764f94d1f9798e3a47365cb4a215c06b9aef8a
Author: Egmont Koblinger <egmont gmail com>
Date: Wed May 14 17:09:10 2014 +0200
emulation: Fix escape sequences of keypad Home and End (take 2)
https://bugzilla.gnome.org/show_bug.cgi?id=600659#c63
(cherry picked from commit 691669ac5166da1104eb584bc43a70a9c7a924d7)
src/keymap.c | 18 ++++++++----------
1 files changed, 8 insertions(+), 10 deletions(-)
---
diff --git a/src/keymap.c b/src/keymap.c
index 925d162..adc7628 100644
--- a/src/keymap.c
+++ b/src/keymap.c
@@ -502,13 +502,12 @@ 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_default, keypad_default, fkey_notvt220, 0, _VTE_CAP_CSI "F", -1, X_NULL},
+ {cursor_app, keypad_default, fkey_notvt220, 0, _VTE_CAP_SS3 "F", -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_default, keypad_app, fkey_notvt220, 0, _VTE_CAP_CSI "F", -1, X_NULL},
+ {cursor_app, keypad_app, fkey_notvt220, 0, _VTE_CAP_SS3 "F", -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},
{cursor_all, keypad_all, fkey_all, 0, X_NULL, 0, X_NULL},
};
@@ -564,13 +563,12 @@ 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_default, keypad_default, fkey_notvt220, 0, _VTE_CAP_CSI "H", -1, X_NULL},
+ {cursor_app, keypad_default, fkey_notvt220, 0, _VTE_CAP_SS3 "H", -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_default, keypad_app, fkey_notvt220, 0, _VTE_CAP_CSI "H", -1, X_NULL},
+ {cursor_app, keypad_app, fkey_notvt220, 0, _VTE_CAP_SS3 "H", -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},
{cursor_all, keypad_all, fkey_all, 0, X_NULL, 0, X_NULL},
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]