singularity-forge/packages/pi-tui/src
Jeremy c0236254a2 fix(pi-tui): revert contentCursorRow, use hardwareCursorRow as movement baseline
PR #3744 and #3765 introduced contentCursorRow which diverges from the
actual terminal cursor position after IME repositioning. computeLineDiff
computes ANSI escape movements which are relative to where the cursor
physically is — that must be hardwareCursorRow, not a phantom position.

Remove contentCursorRow entirely and revert computeLineDiff baseline to
hardwareCursorRow. The ghost-line test was asserting wrong movement
direction (UP from phantom position vs DOWN from actual cursor).

Closes #3764
2026-04-07 23:37:52 -05:00
..
__tests__ fix(gsd): remove background color from backdrop, fix message truncation 2026-04-06 20:11:07 -05:00
components Merge pull request #3553 from Tibsfox/fix/cmux-image-rerender-loop 2026-04-07 07:17:00 -05:00
autocomplete.ts fix(tui): prevent freeze when using @ file finder (#1832) 2026-03-21 12:55:12 -06:00
editor-component.ts feat: vendor Pi source into workspace monorepo 2026-03-12 21:55:17 -06:00
fuzzy.ts feat: vendor Pi source into workspace monorepo 2026-03-12 21:55:17 -06:00
index.ts feat: wire native Rust image module into image processing pipeline 2026-03-13 13:41:53 -06:00
keybindings.ts feat: vendor Pi source into workspace monorepo 2026-03-12 21:55:17 -06:00
keys.ts refactor: deduplicate rendering patterns in markdown and keys 2026-03-19 16:39:18 -03:00
kill-ring.ts feat: vendor Pi source into workspace monorepo 2026-03-12 21:55:17 -06:00
overlay-layout.ts fix(gsd): remove background color from backdrop, fix message truncation 2026-04-06 20:11:07 -05:00
stdin-buffer.ts feat: vendor Pi source into workspace monorepo 2026-03-12 21:55:17 -06:00
terminal-image.ts feat: integrate cmux with gsd runtime (#1532) 2026-03-19 20:05:06 -06:00
terminal.ts fix: skip TUI render loop on non-TTY stdout to prevent CPU burn (#3095) (#3263) 2026-03-30 13:49:55 -06:00
tui.ts fix(pi-tui): revert contentCursorRow, use hardwareCursorRow as movement baseline 2026-04-07 23:37:52 -05:00
undo-stack.ts feat: vendor Pi source into workspace monorepo 2026-03-12 21:55:17 -06:00
utils.ts refactor: remove dead code (unused exports) (#1486) 2026-03-19 15:33:32 -06:00