co-mono/packages/tui/test
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
..
autocomplete.test.ts Release v0.7.23 2025-11-20 11:59:17 +01:00
chat-simple.ts Release v0.8.0 2025-11-21 03:12:42 +01:00
editor.test.ts add new getCursor and getLines methods to editor (#201) 2025-12-16 20:13:43 +01:00
image-test.ts add PI_NO_IMAGES env var to disable inline image rendering 2025-12-12 19:35:54 -08:00
key-tester.ts Add Kitty keyboard protocol support for Shift+Enter and other modifier keys 2025-12-18 19:20:30 +02:00
markdown.test.ts Fix markdown tables overflowing/wrapping in TUI (width-aware rendering) (#206) 2025-12-17 17:13:27 +01:00
test-themes.ts Add CI workflow and fix workspace tests 2025-12-02 12:53:53 +00:00
truncated-text.test.ts Add CI workflow and fix workspace tests 2025-12-02 12:53:53 +00:00
virtual-terminal.ts Fix terminal rendering and add improvements 2025-11-11 00:13:46 +01:00
wrap-ansi.test.ts Fix wrap-ansi test to use node:test instead of vitest 2025-12-06 00:48:46 +01:00