diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2016-10-04 13:16:09 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2016-10-04 13:16:09 +0200 |
commit | e13db07eaccdf262322629a1477501dd6687efaa (patch) | |
tree | 2391ca36dd768f692398572de3e588c0fbdc3280 /termo.c | |
parent | 4282f3715c7d4307f57c27edf66874762bdee858 (diff) | |
download | termo-e13db07eaccdf262322629a1477501dd6687efaa.tar.gz termo-e13db07eaccdf262322629a1477501dd6687efaa.tar.xz termo-e13db07eaccdf262322629a1477501dd6687efaa.zip |
Fix mouse mode 1005 support
Diffstat (limited to 'termo.c')
-rw-r--r-- | termo.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1130,8 +1130,7 @@ peekkey_mouse (termo_t *tk, termo_key_t *key, size_t *nbytep) { uint32_t b, x, y; - // TODO: Add some API to switch on 1005 mode support - if (false) + if (tk->mouse_proto == TERMO_MOUSE_PROTO_UTF8) { const unsigned char *buff = tk->buffer + tk->buffstart; size_t len = tk->buffcount; |