Skip to content

Fix web UI PTY resize ownership#191

Merged
edwin-zvs merged 1 commit into
mainfrom
webui-active-pty-resize
May 24, 2026
Merged

Fix web UI PTY resize ownership#191
edwin-zvs merged 1 commit into
mainfrom
webui-active-pty-resize

Conversation

@edwin-zvs

Copy link
Copy Markdown
Contributor

Summary

  • add short-lived web terminal engagement tracking so passive browser refits do not steal PTY size from the TUI
  • send full PTY resize, including row-only changes, after web session select/click/input so xterm and the real PTY stay aligned
  • debounce passive engaged resize observer updates and cover passive vs engaged row-only behavior in the web smoke test

Testing

  • cargo test -p agentd-e2e web_client_loads_and_websocket_connects
  • cargo test
  • cargo build

Relevant binary: target/debug/agentd (web UI assets are embedded in the daemon).

@edwin-zvs
edwin-zvs merged commit 169c02a into main May 24, 2026
1 check passed
@edwin-zvs
edwin-zvs deleted the webui-active-pty-resize branch May 24, 2026 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant