mirror of
https://github.com/l0ng-ai/tty7.git
synced 2026-09-22 00:02:23 +00:00
The ssh phase is an event, and `replay_state` — which catches a new subscriber up on the cwd, the prompt, the remote context and the exit — did not carry it. A GUI restarted while a session was up therefore learned nothing about it: the tab fell through to the grey "nobody said" dot, on a pane the user could type into and get output back from. The daemon keeps the last phase per pane and replays it on attach. It records it even with no client listening, which is exactly the case that matters: the phase a connection reached while nobody was attached is the one the next client needs.