diff options
author | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2011-05-09 16:43:05 +0100 |
---|---|---|
committer | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2011-05-09 16:43:05 +0100 |
commit | 41e9e0d39ef00e651cf79e9be9832c099fbad5d8 (patch) | |
tree | ad061610c4200ffb16e033e519c88ff9bab868de | |
parent | e90d8f45d7133270c26c6cb8be7403966396ffbe (diff) | |
download | termo-41e9e0d39ef00e651cf79e9be9832c099fbad5d8.tar.gz termo-41e9e0d39ef00e651cf79e9be9832c099fbad5d8.tar.xz termo-41e9e0d39ef00e651cf79e9be9832c099fbad5d8.zip |
Also handle new 'fixterms' spec CSI codepoint;modifiers u encoding
-rw-r--r-- | driver-csi.c | 6 |
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; |