summaryrefslogtreecommitdiffstats
path: root/src/getchar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/getchar.c')
-rw-r--r--src/getchar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/getchar.c b/src/getchar.c
index fee9191ba0..51faa2382c 100644
--- a/src/getchar.c
+++ b/src/getchar.c
@@ -2356,7 +2356,7 @@ check_simplify_modifier(int max_offset)
if (offset + 3 >= typebuf.tb_len)
break;
tp = typebuf.tb_buf + typebuf.tb_off + offset;
- if (tp[0] == K_SPECIAL && tp[1] == KS_MODIFIER)
+ if ((tp[0] == K_SPECIAL || tp[0] == CSI) && tp[1] == KS_MODIFIER)
{
// A modifier was not used for a mapping, apply it to ASCII keys.
// Shift would already have been applied.