mecatui: make wrapped selectable lists height-aware
@jbeda is already working on this.
Since Sep 5, 2026.
- Dominant language
- Go
- Stars
- 152
- Forks
- 16
- Avg merge
- 14h 48m
- Merged PRs (30d)
- 536
Description
Problem
Selectable, scrolling mecatui lists budget logical entries before rendering. Some rows can now wrap to multiple physical terminal rows, so long dynamic values can exceed the reserved viewport height and push footer chrome out of view.
Affected families:
- Subagent, Parallel, and Team rosters
- Models picker
- Sessions list
Follow-up
Prepare rows at the final body width before selecting the visible window. Retain a logical-item to physical-row mapping so cursor movement remains item-based, the selected item remains visible, page navigation is coherent, and one-row chrome/footer reservations are preserved. Evaluate whether any list should intentionally remain single-line with semantic elision instead.
Context
Identified during PR #1105 panel review. Current behavior is accepted for that PR; do not fold this architectural scroll-window change into the card-layout correction.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.