mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-20 12:23:22 +00:00
Replace vertical stack layout with horizontal split panel matching list_tui and log_tui patterns. Reuses renderHorizontalSplit, wrapAndScroll, and appendScrollInfo from tui_helpers.go. Key changes: - Add termHeight tracking and syncTrashListSize() for responsive layout - Add detailScroll with Ctrl+d/u and mouse wheel support on right panel - Split View() into viewTrashSplit() (≥80 cols) and viewTrashVertical() - Render detail panel with bold header, metadata rows, path truncation - Add renderTrashSummaryFooter with item count and total size - Remove cachedDetailStr/cachedDetailIdx in favor of direct rendering - Enable tea.WithMouseCellMotion() for mouse wheel scrolling