Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: chord_composer should stop at super and caps by default #808

Merged
merged 2 commits into from
Feb 6, 2024

Conversation

ksqsf
Copy link
Member

@ksqsf ksqsf commented Feb 6, 2024

Pull request

Stop composing chord when a key event is super or caps modified, just like ctrl, alt, and shift.

Currently, super+any key will be consumed by rime when chord typing.

Unit test

  • Done

Manual test

  • Done

Type super+a the raw sequence will be cleared and the key can be forwarded to the client application.

Code Review

  1. Unit and manual test pass
  2. GitHub Action CI pass
  3. At least one contributor reviews and votes
  4. Can be merged clean without conflicts
  5. PR will be merged by rebase upstream base

Additional Info

@lotem
Copy link
Member

lotem commented Feb 6, 2024

Why not. Thanks.

Don't say "reject", it made me think those keys are kRejected.
What about "stop", "skip" or "ignore"?

@ksqsf ksqsf changed the title fix: chord_composer should reject super and caps by default fix: chord_composer should stop at super and caps by default Feb 6, 2024
@ksqsf
Copy link
Member Author

ksqsf commented Feb 6, 2024

Sure. Updated the title.

@lotem lotem merged commit 8709a7a into rime:master Feb 6, 2024
9 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