Files
orca/src
Brennan Benson 98cc730289 fix(terminal): keep the reattach grid push alive for a hidden pane (#13155)
* fix(terminal): keep the reattach grid push alive for a hidden pane

A restored Floating Workspace pane is display:none for its whole PTY
reattach, because the panel always mounts closed after a restart. The
display:none guard in safeFitAndThen dropped the reattach continuation
outright, so the PTY never received the client grid and no explicit
SIGWINCH was sent to repaint the restored TUI after the replay.

Parking the continuation is not an option: the structural replay
coordinator holds live PTY bytes behind its promise, so a closed panel
would stall output indefinitely. Settle the promise immediately instead
and move the continuation to a per-pane deferred bucket that the first
measurable fit drains.

Deferral is opt-in so the bounded-degradation contract still covers every
other caller, and the continuation re-checks mobile PTY ownership at fire
time now that the wait is unbounded.

* fix(terminal): preserve replacement deferred grid push
2026-08-09 14:49:02 -07:00
..
2026-08-09 14:45:34 -07:00