From 41e9e0d39ef00e651cf79e9be9832c099fbad5d8 Mon Sep 17 00:00:00 2001 From: Paul LeoNerd Evans Date: Mon, 9 May 2011 16:43:05 +0100 Subject: [PATCH] Also handle new 'fixterms' spec CSI codepoint;modifiers u encoding --- driver-csi.c | 6 ++++++ 1 file changed, 6 insertions(+) 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;