aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--driver-csi.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/driver-csi.c b/driver-csi.c
index e1f63b2..05019cc 100644
--- a/driver-csi.c
+++ b/driver-csi.c
@@ -235,6 +235,12 @@ static TermKeyResult peekkey_csi(TermKey *tk, TermKeyCsi *csi, size_t introlen,
return TERMKEY_RES_NONE;
}
}
+ else if(cmd == 'u') {
+ int mod = key->modifiers;
+ key->type = TERMKEY_TYPE_KEYSYM;
+ (*tk->method.emit_codepoint)(tk, arg[0], key);
+ key->modifiers |= mod;
+ }
else if(cmd == 'M') {
size_t csi_len = csi_end + 1;