Skip to content

fix: route terminal mouse events to applications - #6

Open
opencode-agent[bot] wants to merge 1 commit into
mainfrom
mouse-reporting
Open

fix: route terminal mouse events to applications#6
opencode-agent[bot] wants to merge 1 commit into
mainfrom
mouse-reporting

Conversation

@opencode-agent

Copy link
Copy Markdown

Summary

  • route wheel input to application mouse reporting instead of replacing it with arrow keys when mouse tracking is enabled
  • correctly encode button-free movement, Alt modifiers, horizontal scrolling, and small trackpad deltas
  • defer text selection to applications while mouse tracking is active, with Shift preserved as the selection override
  • regenerate the committed browser bundles so consumers of the Git dependency receive the fix

Verification

  • bun test — 378 passing tests, including seven new mouse-reporting regression cases
  • bun run typecheck
  • bun run build:lib && bun run build:wasm-copy
  • scoped Biome checks pass for the changed input, selection, and regression-test files; repository-wide formatting/lint checks currently report pre-existing violations on main

Requested by: @Brendonovich (Brendan via Slack)

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