patch 8.2.4502: in the GUI a modifier is not recognized after CTRL-X
Problem: In the GUI a modifier is not recognized for the key typed after
CTRL-X, which may result in a mapping to be used. (Daniel
Steinberg)
Solution: Recognize a modifier starting with CSI. (closes #9889)
diff --git a/src/getchar.c b/src/getchar.c
index 9939bbd..2fbbd4f 100644
--- a/src/getchar.c
+++ b/src/getchar.c
@@ -2331,7 +2331,7 @@
int c = *p;
if (typebuf.tb_len > 3
- && c == K_SPECIAL
+ && (c == K_SPECIAL || c == CSI) // CSI is used by the GUI
&& p[1] == KS_MODIFIER
&& (p[2] & MOD_MASK_CTRL))
c = p[3] & 0x1f;