Files
tty7/crates
37745afaee fix(daemon): a pane no window shows still answers DA1 (#1176)
* fix(daemon): a pane no window shows still answers DA1

The client's emulator answers a pane's queries, so a pane with no client
attached answered nothing, and the replay on attach drops replies. Claude
Code ends its OSC 11 theme query with DA1 and waits for it; started in such
a pane it hung on that query and skipped every later theme check. The
daemon now answers DA1 itself while no client is attached.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(daemon): write the DA1 answer after the state lock is released

A pty whose program is not reading its input blocks the write, and
holding the pane's state lock across it would stall everything else
that needs that pane.

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: l0ng-ai <24760907+l0ng-ai@users.noreply.github.com>
2026-10-15 15:03:12 +08:00
..