mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-22 05:00:41 +00:00
fix(tui): filter key release events by default
Components must set wantsKeyRelease=true to receive release events. Fixes double-processing of keys in editors when Kitty protocol flag 2 is enabled.
This commit is contained in:
parent
7508a51599
commit
41fe329cdd
2 changed files with 19 additions and 1 deletions
|
|
@ -2,6 +2,14 @@
|
|||
|
||||
## [Unreleased]
|
||||
|
||||
### Added
|
||||
|
||||
- `Component.wantsKeyRelease` property to opt-in to key release events (default false)
|
||||
|
||||
### Fixed
|
||||
|
||||
- TUI now filters out key release events by default, preventing double-processing of keys in editors and other components
|
||||
|
||||
## [0.37.7] - 2026-01-07
|
||||
|
||||
### Fixed
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue