stacklok / stacklok/mecatl

mecatui: make wrapped selectable lists height-aware

Open
#1,144 0 comments 0 reactions 1 assignee View on GitHub

@jbeda is already working on this.

Since Sep 5, 2026.

tui
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.