Skip to content

Report Cmd+key combos in _KEYHIT (macOS) - #803

Merged
a740g merged 2 commits into
QB64-Phoenix-Edition:mainfrom
FellippeHeitor:macos-cmd-keyhit-fix
Nov 2, 2026
Merged

a740g merged 2 commits into
QB64-Phoenix-Edition:mainfrom
FellippeHeitor:macos-cmd-keyhit-fix

Conversation

@FellippeHeitor

Copy link
Copy Markdown
Contributor

Printable keys wait for the OS character event before being reported. macOS never sends one for Cmd+key (it is a shortcut, not text), so the pending key was discarded and only the Cmd press/release reached _KEYHIT. Treat Super like Ctrl and report the base key immediately.

FellippeHeitor and others added 2 commits October 31, 2026 11:34
Printable keys wait for the OS character event before being reported.
macOS never sends one for Cmd+key (it is a shortcut, not text), so the
pending key was discarded and only the Cmd press/release reached _KEYHIT.
Treat Super like Ctrl and report the base key immediately.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@a740g a740g added the bug Something isn't working label Nov 2, 2026
@a740g
a740g merged commit 09db91d into QB64-Phoenix-Edition:main Nov 2, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants