Skip to content

Prevent duplicate text injection on key release - #24

Open
justinhnaylor wants to merge 1 commit into
digimata:masterfrom
justinhnaylor:codex/prevent-duplicate-text-injection
Open

Prevent duplicate text injection on key release#24
justinhnaylor wants to merge 1 commit into
digimata:masterfrom
justinhnaylor:codex/prevent-duplicate-text-injection

Conversation

@justinhnaylor

Copy link
Copy Markdown

Summary

  • Attach transcript Unicode only to the synthesized key-down event
  • Keep the matching key-up event without a text payload

Why

The injector currently attaches the same Unicode chunk to both key-down and key-up events. Some text inputs can interpret both payloads, causing intermittent duplicate insertion even though Parrot produced a single transcription.

Testing

  • swift build -c release

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