summaryrefslogtreecommitdiff
path: root/app-misc/tmux/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-05-11 19:55:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-05-11 19:55:43 +0100
commit185fa19bbf68a4d4dca534d2b46729207a177f16 (patch)
treea8a537b82fda83a0799c2ca9887f212558363aa7 /app-misc/tmux/files
parentc8fd0d84af0bfd1949542adc2cbb735b1d28f9ed (diff)
gentoo resync : 11.05.2021
Diffstat (limited to 'app-misc/tmux/files')
-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~"
+ },