Skip to content

fix: add SGR mouse and focus input - #107

Merged
Railly merged 10 commits into
mainfrom
fix/sgr-mouse-focus
Aug 9, 2026
Merged

fix: add SGR mouse and focus input#107
Railly merged 10 commits into
mainfrom
fix/sgr-mouse-focus

Conversation

@Railly

@Railly Railly commented Aug 6, 2026

Copy link
Copy Markdown
Member

Summary

  • track DEC mouse modes 1000, 1002, and SGR encoding mode 1006
  • encode press, drag, release, wheel, and modifier input in the DOM adapter
  • support focus reporting mode 1004

Modes 1003, 1005, and 1015 remain unsupported.

Testing

  • zig build test
  • pnpm --filter @wterm/core test
  • pnpm --filter @wterm/dom test
  • core and DOM type checks

Addresses #55

@vercel

vercel Bot commented Aug 6, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
wterm Ready Ready Preview Aug 9, 2026 3:53am

Comment thread packages/@wterm/dom/src/input.ts Outdated
Comment thread packages/@wterm/dom/src/input.ts Outdated
Comment thread packages/@wterm/dom/src/input.ts Outdated
# Conflicts:
#	apps/docs/src/app/api-reference/page.mdx
#	packages/@wterm/core/README.md
#	packages/@wterm/core/src/terminal-core.ts
#	packages/@wterm/core/src/wasm-bridge.ts
#	packages/@wterm/core/wasm/wterm.wasm
#	packages/@wterm/dom/README.md
#	src/terminal.zig
#	src/wasm_api.zig
@Railly
Railly merged commit 5c1282d into main Aug 9, 2026
6 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.

2 participants