Skip to content

Commit 324b755

Browse files
committed
fix(terminal): lower scroll sensitivity to 2 after testing
4 lines per wheel notch overshoots badly on a normal mouse; 2 is a comfortable middle between xterm's default of 1 and the 3-5 range requested in #254. Wheel resolution varies enough between devices that a tunable setting is the real fix - #254 stays open for that.
1 parent f8687e2 commit 324b755

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib/terminalConstants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// xterm's fastScrollSensitivity default of 5, so we leave that one alone.
66
export const TERMINAL_SCROLL_OPTIONS = {
77
scrollback: 10_000,
8-
scrollSensitivity: 4,
8+
scrollSensitivity: 2,
99
} as const;
1010

1111
// Pre-computed base64 lookup table — avoids atob() intermediate string allocation.

0 commit comments

Comments
 (0)