Skip to content

fix(terminal): increase wheel scroll sensitivity - #257

Merged
johannesjo merged 3 commits into
johannesjo:mainfrom
LarryHu0217:codex/terminal-scroll-sensitivity-254
Aug 14, 2026
Merged

fix(terminal): increase wheel scroll sensitivity#257
johannesjo merged 3 commits into
johannesjo:mainfrom
LarryHu0217:codex/terminal-scroll-sensitivity-254

Conversation

@LarryHu0217

Copy link
Copy Markdown
Contributor

Summary

  • increase terminal wheel scrolling to four lines per notch
  • keep Alt-modified fast scrolling at a five-times multiplier
  • apply the shared defaults to desktop and remote terminals
  • add focused regression coverage for the scroll options

Validation

  • npm run test:unit -- src/lib/terminalConstants.test.ts
  • npm run check
  • npm run check:static
  • npm test (1,805 unit tests and 9 client tests passed)
  • npm run build:frontend
  • npm run build:remote

Closes #254

LarryHu0217 and others added 3 commits August 9, 2026 16:10
fastScrollSensitivity: 5 is already xterm's default, so setting it was a
no-op; Alt-scroll compounds with scrollSensitivity to 20 lines per notch
either way. Inline TERMINAL_SCROLLBACK_LINES, which no longer had any
consumer outside this file, and drop the test that only restated the
constant's literal value.
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 johannesjo#254. Wheel resolution varies enough between devices that
a tunable setting is the real fix - johannesjo#254 stays open for that.
@johannesjo

Copy link
Copy Markdown
Owner

Thank you very much! <3

@johannesjo
johannesjo merged commit 324b755 into johannesjo:main Aug 14, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Terminal mouse-wheel scrolling is very slow — set xterm's scrollSensitivity

2 participants