mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-17 09:16:11 +03:00
mouse button codes for right/middle were swapped!
This commit is contained in:
@ -1416,8 +1416,8 @@ fn mouseReport(
|
|||||||
} else {
|
} else {
|
||||||
acc = switch (button.?) {
|
acc = switch (button.?) {
|
||||||
.left => 0,
|
.left => 0,
|
||||||
.right => 1,
|
.middle => 1,
|
||||||
.middle => 2,
|
.right => 2,
|
||||||
.four => 64,
|
.four => 64,
|
||||||
.five => 65,
|
.five => 65,
|
||||||
else => return, // unsupported
|
else => return, // unsupported
|
||||||
|
Reference in New Issue
Block a user