mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-11-30 16:39:33 +01:00
A terminal that dies while attached (closed window, dropped SSH) never reaches restore(), so its client-active[91] hooks stayed on the sessions. TUI startup now removes ours whose tty has no live tmux client, next to the leaked-banner sweep. The TUI's own tty is never swept: the sweep is fire-and-forget, and an early Enter can arm that hook before the attach client exists. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>