diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-01-22 16:03:43 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-01-26 19:41:25 +0000 |
| commit | 3252131dd4330a5eacd4053f850c249e0b153308 (patch) | |
| tree | 520b399bb7b52739985986ca1d8464187f35f501 /render.c | |
| parent | changelog: add bug ref to the ‘FreeBSD support’ entry (diff) | |
terminal: fix encoding of mouse buttons 6 and 7 in mouse events
These two buttons were encoded using the *exact* same numbers as
button 4 and 5 (scroll wheel up/down), making it impossible to
distinguish them.
The relevant section from XTerm’s control sequences documentation is:
Some wheel mice can send additional button events, e.g., by tilting the
scroll wheel left and right.
Additional buttons are encoded like the wheel mice,
o by adding 64 (for buttons 6 and 7), or
o by adding 128 (for buttons 8 through 11).
Diffstat (limited to 'render.c')
0 files changed, 0 insertions, 0 deletions
