szn

Bug 151 — tty/tty_key.zig — Wheel left/right mouse buttons misidentified

151. tty/tty_key.zig — Wheel left/right mouse buttons misidentified

File: src/tty/tty_key.zig:243–259 Severity: LOW Status: ✅ FIXED — added scroll_left/scroll_right to MouseButton enum and parser.

SGR mouse button values 66 (0x42, wheel left) and 67 (0x43, wheel right) are not detected by the wheel checks (& 0xC3 yields 0x42/0x43, not 0x40/0x41). They fall through to the switch where btn & 0x03 gives 2/3, mapping wheel-left to .right and wheel-right to .release.