Files
oh-my-pi/packages/tui/test
can1357 99aac72ce5 fix(tui): fixed IME cursor sticking to viewport bottom after resize
- Adjusted `#emitViewportRepaint` to use `viewportTop + height - 1` as the cursor target row instead of clamping to `lines.length - 1`.
- This kept `#cursorControlSequence` row-delta math consistent with the hardware cursor after blank padding rows, preventing the IME cursor from staying stuck at the viewport bottom on height-grow resizes.
- Added a regression test and terminal cursor accessor to verify the focused `CURSOR_MARKER` row remains active after terminal expansion.
2026-05-26 09:33:07 +02:00
..