This repository was archived by the owner on Sep 18, 2025. It is now read-only.
Commit bc67c13
fix: tui: use KeyPressMsg instead of KeyMsg
The `tea.KeyMsg` type can match both key presses and releases, which can
lead to unexpected behavior in the TUI. Use `tea.KeyPressMsg` explicitly
to ensure we match only key presses.1 parent 9c4a47b commit bc67c13
16 files changed
Lines changed: 25 additions & 476 deletions
File tree
- internal
- format
- tui
- components
- chat
- core/list
- dialog
- util
- page
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
0 commit comments