co-mono/packages/tui/src
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
..
components fix(tui): move lastAction handling out of setTextInternal() 2026-01-25 17:50:55 +04:00
autocomplete.ts fix(tui): don't add space after directory completion for @ file attachments 2026-01-21 23:48:41 +01:00
editor-component.ts fix(coding-agent): propagate paddingX to custom editors 2026-01-24 21:00:14 +04: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: make session selector keybindings configurable (#948) 2026-01-25 20:08:11 +01:00
keys.ts feat(tui): add legacy terminal support for Ctrl+symbol keys 2026-01-19 00:18:47 +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 fix(tui): prevent image ID collisions between modules 2026-01-22 04:52:55 +01:00
terminal.ts fix(tui): fix scrollback overwrite when appending lines past viewport 2026-01-26 16:51:28 +01:00
tui.ts fix(tui): fix scrollback overwrite when appending lines past viewport 2026-01-26 16:51:28 +01:00
utils.ts feat(tui): hardware cursor positioning for IME support 2026-01-16 04:30:07 +01:00