diff options
author | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2009-11-25 14:46:19 +0000 |
---|---|---|
committer | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2009-11-25 14:46:19 +0000 |
commit | bdc22b8b3d4cde7727a5d480c8457fc24182885d (patch) | |
tree | 8f01a9d0a92826297aef13022eef7304f46bddc4 /driver-ti.c | |
parent | ade9d760d36d16a308096972ad1b91bd4aa3201e (diff) | |
download | termo-bdc22b8b3d4cde7727a5d480c8457fc24182885d.tar.gz termo-bdc22b8b3d4cde7727a5d480c8457fc24182885d.tar.xz termo-bdc22b8b3d4cde7727a5d480c8457fc24182885d.zip |
Remember to zero key->modifiers for mouse events
Diffstat (limited to 'driver-ti.c')
-rw-r--r-- | driver-ti.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/driver-ti.c b/driver-ti.c index c8b1336..3d37e1a 100644 --- a/driver-ti.c +++ b/driver-ti.c @@ -318,6 +318,7 @@ static TermKeyResult peekkey(TermKey *tk, void *info, TermKeyKey *key, int force key->code.mouse.buttons = CHARAT(pos+0) - 0x20; key->code.mouse.col = CHARAT(pos+1) - 0x20; key->code.mouse.line = CHARAT(pos+2) - 0x20; + key->modifiers = 0; *nbytep = pos+3; return TERMKEY_RES_KEY; } |