co-mono/packages/tui/test
Mario Zechner a6f9c3cf0d fix(tui): fix scrollback overwrite when appending lines past viewport
Appended lines were not committed to terminal scrollback because the
renderer used cursor movement (CSI B) and carriage return without
linefeed. This caused earlier content to be overwritten when the
viewport filled up.

Changes:
- For appended lines, emit \r\n to create real scrollback lines
- When target row is below viewport, scroll with \r\n before positioning
- Add PI_TUI_WRITE_LOG env var for debugging raw ANSI output
- Add fullRedraws readonly property to TUI class
- Add viewport-overwrite-repro.ts test script

fixes #954
2026-01-26 16:51:28 +01:00
..
autocomplete.test.ts Autocomplete allow searchs with /'s like: folder1/folder2 (#882) 2026-01-21 23:23:51 +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 fix(tui): handle multi-line text in insertTextAtCursor() 2026-01-25 17:28:54 +04: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 fix(tui): handle split Shift+Enter in VS Code 2026-01-11 04:03:42 +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 feat(tui): add legacy terminal support for Ctrl+symbol keys 2026-01-19 00:18:47 +01:00
markdown.test.ts fix(tui): prevent duplicate URL display for autolinked emails (#888) 2026-01-21 23:20:00 +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
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 feat(tui): add OverlayOptions API and fix width overflow crash 2026-01-12 10:01:34 -08: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 feat(tui): query Kitty keyboard protocol support before enabling 2026-01-05 22:52:13 +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