mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 21:15:52 +03:00
[PR #203] [MERGED] Fix scroll acceleration on Ghostty #1151
Labels
No labels
bug
core
documentation
feature
good first issue
help wanted
pull-request
question
react
solid
tmux
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/opentui#1151
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/anomalyco/opentui/pull/203
Author: @remorses
Created: 10/8/2025
Status: ✅ Merged
Merged: 10/8/2025
Merged by: @kommander
Base:
main← Head:scroll-acceleration-ghostty-fix📝 Commits (4)
e1e64ebscroll acceleration ghostty fix7986e28fix grammar394b57bprettier40d81d3Merge branch 'main' into scroll-acceleration-ghostty-fix📊 Changes
3 files changed (+53 additions, -19 deletions)
View changed files
📝
packages/core/src/lib/scroll-acceleration.ts(+17 -16)📝
packages/core/src/renderables/ScrollBox.ts(+1 -2)📝
packages/core/src/tests/scrollbox.test.ts(+35 -1)📄 Description
Some terminals send 2 or more ticks for each mouse wheel tick, for example Ghostty, with a small delay between each tick, about 4ms on average.
We ignore these ticks otherwise they would cause faster acceleration to kick in
https://github.com/ghostty-org/ghostty/discussions/7577
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.