From d9e9a9f199d673a9e9995c1162048f3a854d029e Mon Sep 17 00:00:00 2001
From: Sergei Trofimovich <slyfox@gentoo.org>
Date: Thu, 26 Nov 2020 08:05:37 +0000
Subject: [PATCH] Ticket #4149: add 'alacritty', 'tmux', 'tmux-256color' as
xterm aliases
'alacritty', 'tmux' and 'tmux-256color' all implement Shift+F<N> keys
in an xterm-compatible way. Without this change Shift+F<N> are handled
as F<N-2> key presses.
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
---
misc/mc.lib | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/misc/mc.lib b/misc/mc.lib
index d84a7b5a6..bf8be065c 100644
a
|
b
|
alt-shift-left=\\e[1\;4D |
116 | 116 | alt-shift-up=\\e[1\;4A |
117 | 117 | alt-shift-down=\\e[1\;4B |
118 | 118 | |
| 119 | [terminal:alacritty] |
| 120 | copy=xterm |
| 121 | |
119 | 122 | [terminal:gnome] |
120 | 123 | copy=xterm |
121 | 124 | |
… |
… |
copy=xterm |
137 | 140 | [terminal:screen-256color] |
138 | 141 | copy=xterm |
139 | 142 | |
| 143 | [terminal:tmux] |
| 144 | copy=xterm |
| 145 | |
| 146 | [terminal:tmux-256color] |
| 147 | copy=xterm |
| 148 | |
140 | 149 | [terminal:ibmpc3] |
141 | 150 | f11=\\e[Y |
142 | 151 | f12=\\e[Z |