Skip to content

docs: correct handleDualTap docstring (keydown-only, not release)#274

Merged
nedtwigg merged 1 commit into
mainfrom
fix/dual-tap-docstring
Jul 21, 2026
Merged

docs: correct handleDualTap docstring (keydown-only, not release)#274
nedtwigg merged 1 commit into
mainfrom
fix/dual-tap-docstring

Conversation

@dormouse-bot

Copy link
Copy Markdown
Collaborator

Surfaced by the nightly code-quality survey.

The handleDualTap docstring says it consumes presses "so later handlers don't misinterpret a modifier release as a navigation key." But the handler is registered on keydown only (use-wall-keyboard.ts:52, window.addEventListener('keydown', ...)) — it never observes key releases. The word should be "press."

Comment-only change; no behavior change, so no test accompanies it.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 20, 2026

Copy link
Copy Markdown

Deploying mouseterm with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3697fa6
Status: ✅  Deploy successful!
Preview URL: https://19c5bb09.mouseterm.pages.dev
Branch Preview URL: https://fix-dual-tap-docstring.mouseterm.pages.dev

View logs

@nedtwigg
nedtwigg merged commit 88cc02f into main Jul 21, 2026
7 checks passed
@nedtwigg
nedtwigg deleted the fix/dual-tap-docstring branch July 21, 2026 19:13
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