co-mono/packages/tui/test
Helmut Januschka 8f2682578b feat: configurable keybindings for all editor and app actions
All keybindings configurable via ~/.pi/agent/keybindings.json

Editor actions:
- cursorUp, cursorDown, cursorLeft, cursorRight
- cursorWordLeft, cursorWordRight, cursorLineStart, cursorLineEnd
- deleteCharBackward, deleteCharForward, deleteWordBackward
- deleteToLineStart, deleteToLineEnd
- newLine, submit, tab
- selectUp, selectDown, selectConfirm, selectCancel

App actions:
- interrupt, clear, exit, suspend
- cycleThinkingLevel, cycleModelForward, cycleModelBackward
- selectModel, expandTools, toggleThinking, externalEditor

Also adds support for numpad Enter key (Kitty protocol codepoint 57414
and SS3 M sequence)

Example emacs-style keybindings.json:
{
  "cursorUp": ["up", "ctrl+p"],
  "cursorDown": ["down", "ctrl+n"],
  "cursorLeft": ["left", "ctrl+b"],
  "cursorRight": ["right", "ctrl+f"],
  "deleteCharForward": ["delete", "ctrl+d"],
  "cycleModelForward": "ctrl+o"
}
2026-01-03 08:23:56 +01: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 feat(tui): implement word wrapping in Editor component 2025-12-30 23:05:35 -05:00
image-test.ts Enable more biome lints and fix things 2025-12-21 22:56:20 +01:00
key-tester.ts feat: configurable keybindings for all editor and app actions 2026-01-03 08:23:56 +01: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 Enable more biome lints and fix things 2025-12-21 22:56:20 +01:00
virtual-terminal.ts Add terminal title support to TUI framework (#407) 2026-01-02 22:00:34 +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