Skip to content

Conversation

@Mishkun
Copy link
Owner

@Mishkun Mishkun commented Apr 26, 2025

… events

This change fixes the issue where the last character of key bindings was being passed through to the opened window/action. Now we ensure that:

  • Group bindings use key press events (on press)
  • Leaf/terminal bindings use key release events (on release)

This way, the key press is properly consumed by the action before it can be passed to the newly opened window.

By treating group bindings as on press, we ensure that perfomance gains mentioned in #3 are retained

… events

This change fixes the issue where the last character of key bindings was
being passed through to the opened window/action. Now we ensure that:
- Group bindings use key press events (on press)
- Leaf/terminal bindings use key release events (on release)

This way, the key press is properly consumed by the action before it
can be passed to the newly opened window.

By treating group bindings as on press, we ensure that perfomance gains
mentioned in #3 are retained
@Mishkun Mishkun enabled auto-merge (squash) April 26, 2025 19:53
@Mishkun Mishkun merged commit c61c23a into master Apr 26, 2025
1 check passed
@Mishkun Mishkun deleted the fix-key-release-issue branch April 29, 2025 21:42
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.

1 participant