aboutsummaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2025-03-10 14:47:20 +0000
committerDaniel Eklöf <daniel@ekloef.se>2025-03-10 14:47:20 +0000
commit8d2627b1ef8fd7f8313e4441de3c76b873575a8e (patch)
tree0a5fbd73fdb3aaa1f9c880ec5f0e496418521962 /input.c
parentgrid: set linebreak=false when printing to a line, not when allocating it (diff)
input: kitty: always use shifted key when it's the result of a compose
Closes #1987
Diffstat (limited to 'input.c')
-rw-r--r--input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input.c b/input.c
index 916f30e4..a2867ac6 100644
--- a/input.c
+++ b/input.c
@@ -1411,7 +1411,7 @@ emit_escapes:
size_t left = sizeof(buf);
size_t bytes;
- const int key = unshifted > 0 && isc32print(unshifted) ? unshifted : shifted;
+ const int key = unshifted > 0 && isc32print(unshifted) && !composed ? unshifted : shifted;
const int alternate = shifted;
if (final == 'u' || final == '~') {