co-mono/packages/tui/src
Kao Félix 6a3d6fe944
feat(tui, coding-agent): add pasteToEditor to ExtensionUIContext (#1351)
Add pasteToEditor(text) method that pastes text into the editor via
bracketed paste sequences, triggering paste handling (including collapse
for large content). Unlike setEditorText which directly replaces content,
pasteToEditor routes through handleInput on the active editor component.

- Add pasteToEditor to ExtensionUIContext interface
- Add handleInput to EditorComponent interface (was missing, all
  concrete implementations already had it)
- Implement in interactive mode via bracketed paste sequence
- Add fallback in RPC mode (delegates to setEditorText)
- Document in extensions.md
2026-02-07 15:55:08 +01:00
..
components Add the kill ring and undo features to the Input component (#1373) 2026-02-07 15:47:27 +01:00
autocomplete.ts fix(tui): include hidden paths in @ autocomplete 2026-02-03 01:36:46 +01:00
editor-component.ts feat(tui, coding-agent): add pasteToEditor to ExtensionUIContext (#1351) 2026-02-07 15:55:08 +01:00
fuzzy.ts More fuzzy finder (#860) 2026-01-19 22:22:51 +01:00
index.ts fix(tui): proper Kitty image ID management and cleanup 2026-01-22 04:39:58 +01:00
keybindings.ts feat(tui,coding-agent): add ctrl+b/ctrl+f cursor navigation keybindings (#1053) 2026-01-30 01:43:54 +01:00
keys.ts fix(tui): prevent Kitty protocol base layout key from causing false shortcut matches 2026-02-01 01:25:00 +01:00
kill-ring.ts Add the kill ring and undo features to the Input component (#1373) 2026-02-07 15:47:27 +01:00
stdin-buffer.ts fix(tui): handle batched input over SSH with StdinBuffer 2026-01-07 17:50:06 +01:00
terminal-image.ts perf(tui): use startsWith short-circuit in isImageLine 2026-01-30 17:07:43 +01:00
terminal.ts fix(tui): drain stdin on exit to avoid Kitty release leak 2026-02-03 00:07:35 +01:00
tui.ts feat(tui): add PI_DEBUG_REDRAW=1 env var for debugging full redraws 2026-02-02 08:39:57 +01:00
undo-stack.ts Add the kill ring and undo features to the Input component (#1373) 2026-02-07 15:47:27 +01:00
utils.ts feat(tui): hardware cursor positioning for IME support 2026-01-16 04:30:07 +01:00