co-mono/packages
Ahmed Kamal 4a4531f887 Add Kitty keyboard protocol support for Shift+Enter and other modifier keys
Enable the Kitty keyboard protocol on terminal start to receive enhanced
key sequences that include modifier information. This fixes Shift+Enter
not working in Ghostty, Kitty, WezTerm, and other modern terminals.

Changes:
- Enable Kitty protocol on start (\x1b[>1u), disable on stop (\x1b[<u)
- Add centralized key definitions in packages/tui/src/keys.ts
- Support both legacy and Kitty sequences for all modifier+key combos:
  - Shift+Enter, Alt+Enter for newlines
  - Shift+Tab for thinking level cycling
  - Ctrl+C, Ctrl+A, Ctrl+E, Ctrl+K, Ctrl+U, Ctrl+W, Ctrl+O, Ctrl+P, Ctrl+T
  - Alt+Backspace for word deletion
- Export Keys constants and helper functions from @mariozechner/pi-tui
2025-12-18 19:20:30 +02:00
..
agent Release v0.23.4 2025-12-18 16:56:50 +01:00
ai Release v0.23.4 2025-12-18 16:56:50 +01:00
coding-agent Add Kitty keyboard protocol support for Shift+Enter and other modifier keys 2025-12-18 19:20:30 +02:00
mom Release v0.23.4 2025-12-18 16:56:50 +01:00
pods Release v0.23.4 2025-12-18 16:56:50 +01:00
proxy Release v0.23.4 2025-12-18 16:56:50 +01:00
tui Add Kitty keyboard protocol support for Shift+Enter and other modifier keys 2025-12-18 19:20:30 +02:00
web-ui Release v0.23.4 2025-12-18 16:56:50 +01:00