Status: Open
Priority: Low
Component: lib/wsl/manager.ps1
Depends on: SC-016
Summary: As a user, I want the WSL Manager TUI to have a split-pane layout (menu on the left, command output on the right) similar to lazygit, so that I can see command results alongside the menu.
Description:
PwshSpectreConsole provides New-SpectreLayout -Columns for side-by-side panels and Invoke-SpectreLive for real-time updates. However, Read-SpectreSelection (interactive arrow-key prompts) cannot run inside a Invoke-SpectreLive context: both take over terminal input/output and conflict with each other. This is a fundamental Spectre.Console limitation.
- Can
Invoke-SpectreLivebe paused/exited cleanly to hand control toRead-SpectreSelection, then resumed? - Can command output be captured (e.g., via
Start-Transcriptor stream redirection) and displayed in a right-side panel after the prompt returns? - Would Terminal.Gui (full TUI framework) be worth reconsidering despite the testability trade-off?
- Are there hybrid approaches: static split layout between commands, full-terminal prompt during selection?
- Spike completed: document which approach (if any) is feasible
- If feasible: create implementation subtasks with UAT criteria
- If not feasible: document why and close as "won't do"