Skip to content

feat(cursor): Cursor::Help and Cursor::Progress - #2116

Merged
Hona merged 1 commit into
devfrom
cursor/help-progress
Nov 25, 2026
Merged

Hona merged 1 commit into
devfrom
cursor/help-progress

Conversation

@Hona

@Hona Hona commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

Compiled

Compiled on Windows x64, Windows arm64, macOS and Linux x64 in anomalyco/opencode-rune#1137, all four build jobs green: the app with Rune pinned to a check commit, the rev the app pins today (4d8df909) plus this change and the five other cursor changes, cherry-picked. That is this change on the app's rev, not on this branch's base (dev is 117 commits past it); every match on Cursor that dev has was checked by reading.

Why

CSS has help and progress, and an app that matches a web app element by element needs both: a hint over text that explains itself on hover, and "busy, but still usable" over something that is being sent. Cursor had neither, so such an element showed the arrow.

What changes

  • Cursor::Help and Cursor::Progress.
  • Windows, Linux and the web go through winit's CursorIcon::Help and CursorIcon::Progress (IDC_HELP and IDC_APPSTARTING on Windows, the theme's cursors on Wayland and X11, the CSS cursors on the web).
  • A layer-shell overlay asks cursor-shape-v1 for help and progress.
  • macOS has no public cursor for either. It uses the private selectors winit already uses (_helpCursor, busyButClickableCursor) behind respondsToSelector:, and the arrow when AppKit does not answer.

What it can change for an app

Nothing until an app asks for the new variants. Cursor is #[non_exhaustive], so a match on it outside this crate already has a wildcard arm.

Not run

The new test has not been run: this repo's tests run on the scheduled macOS job, which I read after the merge. every_cursor_variant_maps_explicitly_for_macos has the two new pairs.

CSS help and progress: the arrow with a question mark and the arrow with a busy mark. winit has both (IDC_HELP and IDC_APPSTARTING on Windows, the theme's cursors on Linux, the CSS cursors on the web); on macOS the private AppKit selectors winit uses, behind respondsToSelector, else the arrow.
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.

1 participant