Handle mouse buttons 6/7 (often used for horizontal scrolling)
This commit is contained in:
parent
ffe96c6c1c
commit
b4ef913400
|
@ -241,6 +241,8 @@ TermKeyResult termkey_interpret_mouse(TermKey *tk, const TermKeyKey *key, TermKe
|
|||
|
||||
case 64:
|
||||
case 65:
|
||||
case 66:
|
||||
case 67:
|
||||
*event = drag ? TERMKEY_MOUSE_DRAG : TERMKEY_MOUSE_PRESS;
|
||||
btn = code + 4 - 64;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue