Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 1.5 KB

File metadata and controls

29 lines (20 loc) · 1.5 KB

<- Back to Backlog

[SC-032] Investigate split-pane TUI layout for WSL Manager

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.

Investigation needed

  • Can Invoke-SpectreLive be paused/exited cleanly to hand control to Read-SpectreSelection, then resumed?
  • Can command output be captured (e.g., via Start-Transcript or 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?

Acceptance Criteria

  • 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"

<- Back to Backlog