Move overlay positioning (resolveOverlayLayout, resolveAnchorRow/Col), line compositing (compositeLineAt, compositeOverlays, applyLineResets), cursor extraction, and size parsing into overlay-layout.ts. These are pure functions with no TUI state dependencies, reducing tui.ts from 1,200 to 899 lines. |
||
|---|---|---|
| .. | ||
| native | ||
| pi-agent-core | ||
| pi-ai | ||
| pi-coding-agent | ||
| pi-tui | ||