You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browse filesBrowse the repository at this point in the historyBrowse files
authored
fix: resync clients on broadcast lag (audit round 3, P4) (#27)
When a client's broadcast receiver overflowed, both forwarders logged the
RecvError::Lagged and continued, so a dropped GridDiff left the screen
corrupt until the next unrelated FullRefresh.
Add Session::focused_window_full_refresh, which rebuilds a FullRefresh for
every pane in the focused window, and call it from both forwarders on lag:
- IPC forwarder (session_dispatch): replay each pane's current grid to the
client, capturing the sessions Arc + session name into the task.
- WebSocket forwarder (ws): same, converted to text for xterm.js.
Also update the audit report with the implementation status.
Tested: focused_window_full_refresh_covers_every_pane (ignore-gated like the
other PTY-spawning tests). cargo test / clippy -D warnings / fmt --check green.
Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Happy <yesreply@happy.engineering>
0 commit comments