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