co-mono/packages/tui/test
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
..
autocomplete.test.ts fix(tui): include hidden paths in @ autocomplete 2026-02-03 01:36:46 +01:00
bug-regression-isimageline-startswith-bug.test.ts fix: make pre-commit hook fail on lint warnings, fix template literal warnings 2026-02-01 00:25:57 +01:00
chat-simple.ts fix(tui): add vertical scrolling to Editor when content exceeds terminal height 2026-01-16 04:12:21 +01:00
editor.test.ts feat(tui): add sticky column for vertical cursor navigation (#1120) 2026-01-31 22:52:47 +01:00
fuzzy.test.ts More fuzzy finder (#860) 2026-01-19 22:22:51 +01:00
image-test.ts Enable more biome lints and fix things 2025-12-21 22:56:20 +01:00
input.test.ts Add the kill ring and undo features to the Input component (#1373) 2026-02-07 15:47:27 +01:00
key-tester.ts feat: configurable keybindings for all editor and app actions 2026-01-03 08:23:56 +01:00
keys.test.ts test(tui): cover non-qwerty kitty base layout fallback 2026-02-01 01:33:28 +01:00
markdown.test.ts fix(tui): blockquote multiline rendering and wrapping (#1073) 2026-01-30 03:02:38 +01:00
overlay-options.test.ts feat(tui): overlay positioning API with CSS-like values 2026-01-12 22:44:58 -08:00
overlay-short-content.test.ts feat(tui): add OverlayOptions API and fix width overflow crash 2026-01-12 10:01:34 -08:00
select-list.test.ts Centralize frontmatter parsing + parse frontmatter with yaml library (#728) 2026-01-16 00:31:53 +01:00
stdin-buffer.test.ts fix(tui): handle batched input over SSH with StdinBuffer 2026-01-07 17:50:06 +01:00
terminal-image.test.ts fix(tui): isImageLine should detect image escape sequences anywhere in line 2026-01-30 10:07:22 +00: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
tui-overlay-style-leak.test.ts test(tui): cover style reset cases 2026-01-11 19:01:16 +01:00
tui-render.test.ts fix(tui): reduce unnecessary full redraws for better performance 2026-02-02 08:10:08 +01:00
viewport-overwrite-repro.ts fix(tui): fix scrollback overwrite when appending lines past viewport 2026-01-26 16:51:28 +01:00
virtual-terminal.ts fix(tui): drain stdin on exit to avoid Kitty release leak 2026-02-03 00:07:35 +01:00
wrap-ansi.test.ts fix(tui): trim trailing whitespace in wrapped lines to prevent width overflow 2026-01-04 22:15:25 -06:00