Skip to content

Add horizontal scroll gesture support#872

Merged
gyscos merged 1 commit into
gyscos:mainfrom
badscrew:feature/horizontal-scroll-gesture
May 3, 2026
Merged

Add horizontal scroll gesture support#872
gyscos merged 1 commit into
gyscos:mainfrom
badscrew:feature/horizontal-scroll-gesture

Conversation

@badscrew

@badscrew badscrew commented May 3, 2026

Copy link
Copy Markdown
Contributor

Add WheelLeft/WheelRight variants to MouseEvent and wire them through the crossterm backend and scroll view event handler. This enables horizontal touchpad/trackpad scrolling in scrollable views with scroll_x enabled.

Resolves feature request #871

Add WheelLeft/WheelRight variants to MouseEvent and wire them
through the crossterm backend and scroll view event handler.
This enables horizontal touchpad/trackpad scrolling in scrollable
views with scroll_x enabled.

@gyscos gyscos left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! Didn't realize these were supported by crossterm, that's great!

@badscrew

badscrew commented May 3, 2026

Copy link
Copy Markdown
Contributor Author

No problem happy to help

@gyscos gyscos merged commit b41c5ad into gyscos:main May 3, 2026
1 check passed
@badscrew badscrew deleted the feature/horizontal-scroll-gesture branch May 3, 2026 17:47
azat added a commit to azat-rust/cursive that referenced this pull request Jun 11, 2026
* origin/main:
  Add horizontal scroll gesture support (gyscos#872)
  Address most compiler/clippy warnings (gyscos#865)
  Fix focus_view for Dialog and LinearLayout
  Update third-party views in README (gyscos#864)
  Remove mention of inexistent example
  Update rand dev-dependency to 0.10
  Update find-crate requirement from 0.6.3 to 0.7.1 (gyscos#858)
  Update toml requirement from 0.9 to 1.0 (gyscos#860)
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.

2 participants