mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-14 03:25:50 +00:00
Add support for mouse buttons 4-11 in the macOS app. Previously only left, right, and middle buttons were handled. Now otherMouseDown/Up events properly map NSEvent.buttonNumber to the corresponding Ghostty mouse button, enabling back/forward button support. Fixes: https://github.com/ghostty-org/ghostty/issues/2425 Amp-Thread-ID: https://ampcode.com/threads/T-019bd74e-6b2b-731d-b43a-ac73b3460c32 Co-authored-by: Amp <amp@ampcode.com>