co-mono/packages/tui/src/components
Sviatoslav Abakumov 4c2d78f6cb
Add the kill ring and undo features to the Input component (#1373)
* feat(tui): extract KillRing and UndoStack, add to Input

Extract kill ring and undo logic from Editor into reusable classes:

- KillRing: ring buffer with accumulation for consecutive kills
- UndoStack<S>: generic stack with clone-on-push semantics

Refactor Editor to use both classes. Add kill ring (kill/yank/
yank-pop), undo with coalescing, and deleteWordForward to Input.

* feat(tui): extract handleBackspace() and handleForwardDelete()
2026-02-07 15:47:27 +01:00
..
box.ts perf(tui): optimize image line detection and box cache (#1084) 2026-01-30 02:25:19 +01:00
cancellable-loader.ts feat: use keybindings in all selectors and lists 2026-01-03 08:23:56 +01:00
editor.ts Add the kill ring and undo features to the Input component (#1373) 2026-02-07 15:47:27 +01:00
image.ts fix(tui): prevent image ID collisions between modules 2026-01-22 04:52:55 +01:00
input.ts Add the kill ring and undo features to the Input component (#1373) 2026-02-07 15:47:27 +01:00
loader.ts Release v0.8.0 2025-11-21 03:12:42 +01:00
markdown.ts fix(tui): blockquote multiline rendering and wrapping (#1073) 2026-01-30 03:02:38 +01:00
select-list.ts Centralize frontmatter parsing + parse frontmatter with yaml library (#728) 2026-01-16 00:31:53 +01:00
settings-list.ts fix(coding-agent): avoid crash of /settings with small width 2026-02-04 15:27:33 +08:00
spacer.ts Release v0.8.0 2025-11-21 03:12:42 +01:00
text.ts Release v0.8.0 2025-11-21 03:12:42 +01:00
truncated-text.ts Release v0.11.4 2025-12-01 13:05:12 +01:00