Files
skillshare/cmd
Willie 81369f12e2 fix(tui): prevent detail panel bottom content from being clipped
The old applyDetailScroll embedded a scroll indicator inside the panel
content, consuming panel height and causing MaxHeight to clip the last
visible lines. Long lines that visually wrapped also broke the scroll
line-count calculation.

Replace with wrapAndScroll (hardWrapContent + applyDetailScrollSplit)
which hard-wraps content for accurate line counts and returns scroll
info separately for display in the help bar. Extract appendScrollInfo
helper to eliminate repeated if-append boilerplate across all TUIs.

Affects: audit, audit-rules, log, diff, restore TUIs (both horizontal
and vertical layouts).
2026-03-04 12:16:32 +08:00
..