summaryrefslogtreecommitdiff
path: root/app-misc/tmux/files/tmux-fix-bindings.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/tmux/files/tmux-fix-bindings.patch')
-rw-r--r--app-misc/tmux/files/tmux-fix-bindings.patch45
1 files changed, 45 insertions, 0 deletions
diff --git a/app-misc/tmux/files/tmux-fix-bindings.patch b/app-misc/tmux/files/tmux-fix-bindings.patch
new file mode 100644
index 000000000000..6436302f0557
--- /dev/null
+++ b/app-misc/tmux/files/tmux-fix-bindings.patch
@@ -0,0 +1,45 @@
+From f2951bd4a560692048e68bf29a5b0a288346a7d4 Mon Sep 17 00:00:00 2001
+From: Nicholas Marriott <nicholas.marriott@gmail.com>
+Date: Wed, 5 May 2021 07:23:23 +0100
+Subject: [PATCH] Remove old shift function keys which interfere with xterm
+ keys now. GitHub issue 2696.
+
+---
+ input-keys.c | 24 ------------------------
+ 1 file changed, 24 deletions(-)
+
+diff --git a/input-keys.c b/input-keys.c
+index ffd2201c0..be83600e5 100644
+--- a/input-keys.c
++++ b/input-keys.c
+@@ -94,30 +94,6 @@ static struct input_key_entry input_key_defaults[] = {
+ { .key = KEYC_F12,
+ .data = "\033[24~"
+ },
+- { .key = KEYC_F1|KEYC_SHIFT,
+- .data = "\033[25~"
+- },
+- { .key = KEYC_F2|KEYC_SHIFT,
+- .data = "\033[26~"
+- },
+- { .key = KEYC_F3|KEYC_SHIFT,
+- .data = "\033[28~"
+- },
+- { .key = KEYC_F4|KEYC_SHIFT,
+- .data = "\033[29~"
+- },
+- { .key = KEYC_F5|KEYC_SHIFT,
+- .data = "\033[31~"
+- },
+- { .key = KEYC_F6|KEYC_SHIFT,
+- .data = "\033[32~"
+- },
+- { .key = KEYC_F7|KEYC_SHIFT,
+- .data = "\033[33~"
+- },
+- { .key = KEYC_F8|KEYC_SHIFT,
+- .data = "\033[34~"
+- },
+ { .key = KEYC_IC,
+ .data = "\033[2~"
+ },