mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-20 12:23:22 +00:00
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).