aboutsummaryrefslogtreecommitdiff
path: root/selection.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-01-22 16:03:43 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-01-22 16:07:14 +0000
commit000ddd900ab2e16dbc2885ad701701b230f88f78 (patch)
treeb42e0da637152d3190f11c01b91091487ee67203 /selection.c
parentthemes: fix typos in themes/selenized-black (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 'selection.c')
0 files changed, 0 insertions, 0 deletions