You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG REPORT] Mouse wheel speed is 3x the system setting #24
Thank you, @vhxnyu. You found the bug and its cause: gpui's ScrollDelta::Lines already carries Windows' SPI_GETWHEELSCROLLLINES, and ELYTerminal multiplied it by 3 again.
A notch scrolls the lines Windows sets: 3 at the default, 1 at one. Linux had the same bug: gpui gives its notch as 3 lines, which became 9; it is 3 now. macOS keeps 3.
"One screen at a time" scrolls one screen. Before, gpui's 4,294,967,295 lines saturated to 2,147,483,647.
Shift with the wheel, which takes it back from a program that tracks the mouse, scrolls as no tracking would. Before, gpui turned the notch sideways and nothing moved.
A fine wheel that sends a notch in parts no longer loses lines to rounding.
gpui reads the wheel settings when the window opens, so a change takes effect at ELYTerminal's next start.
On a Windows 11 PC at 3 lines, 1 line and one screen at a time, one notch moved 3, 1 and 53 lines, the screen; 0.1.8 moved 9, 3 and 2,147,483,647. It ships in the next release.
Activity
Raiden-MeixElysia commentedon Oct 23, 2026
Bug. Will be fixed in next version.
T81: on Windows a wheel notch scrolls the lines Windows sets, which i…
Raiden-MeixElysia commentedon Oct 24, 2026
Thank you, @vhxnyu. You found the bug and its cause: gpui's
ScrollDelta::Linesalready carries Windows'SPI_GETWHEELSCROLLLINES, and ELYTerminal multiplied it by 3 again.Fixed on main, c32fe52:
On a Windows 11 PC at 3 lines, 1 line and one screen at a time, one notch moved 3, 1 and 53 lines, the screen; 0.1.8 moved 9, 3 and 2,147,483,647. It ships in the next release.