mirror of
https://github.com/neovim/neovim.git
synced 2024-09-17 20:58:20 -04:00
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
Block a user