Skip to content

Fix non-printable keys in browser renderer#32

Open
to-be-coder wants to merge 1 commit intomainfrom
fix/non-printable-keys
Open

Fix non-printable keys in browser renderer#32
to-be-coder wants to merge 1 commit intomainfrom
fix/non-printable-keys

Conversation

@to-be-coder
Copy link
Copy Markdown
Collaborator

Summary

  • Fixes the sequence field in key event handling to only pass single-character keys, filtering out non-printable keys (e.g., Shift, Control, Alt) by checking event.key.length === 1

Test plan

  • Verify that typing regular characters works as expected
  • Verify that pressing non-printable keys (Shift, Control, Alt, etc.) no longer produces unintended input

🤖 Generated with Claude Code

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