mirror of
https://github.com/l0ng-ai/tty7.git
synced 2026-09-21 16:02:20 +00:00
Half a change, found by reading the docs rather than the code. `pane ls --all` learned to count strays by whether anybody is attached; the per-row `orphan` flag beside that count did not. The same JSON object contradicted itself, and the reference says `--orphans` "closes what `pane ls --all` lists as orphaned" — which had stopped being true for exactly the rows that matter, the panes a window is adopting during a restore. A script filtering `.panes[] | select(.orphan)` would have gone after panes the reaper deliberately spares. The row, the count, the doctor's row and the reaper now make one test, held by a test that walks all four. The reference states both halves of what an orphan is, since one of them is the half that keeps the command from taking a session that is still coming up.