Skip to content

fix(web): upgrade xterm.js to v6 to fix garbled terminal rendering#1273

Open
sparshb4tra wants to merge 3 commits into
AgentWrapper:mainfrom
sparshb4tra:fix/1200-xterm-v6-terminal-rendering
Open

fix(web): upgrade xterm.js to v6 to fix garbled terminal rendering#1273
sparshb4tra wants to merge 3 commits into
AgentWrapper:mainfrom
sparshb4tra:fix/1200-xterm-v6-terminal-rendering

Conversation

@sparshb4tra

Copy link
Copy Markdown

Summary

  • migrate web terminal dependency from xterm@5.3.0 to @xterm/xterm@6.0.0
  • update DirectTerminal imports/CSS/dynamic import to the scoped package
  • remove deprecated fastScrollModifier option for xterm v6 compatibility
  • update related test fixtures and version strings

Why

Fixes #1200. This addresses rare garbled/flickering terminal frames during agent streaming by moving off xterm 5.3.0 to xterm v6 where synchronized output handling is improved.

Validation

  • pnpm --filter @aoagents/ao-web test src/components/tests/DirectTerminal.render.test.tsx src/components/tests/DirectTerminal.test.ts
  • pnpm --filter @aoagents/ao-cli test tests/commands/dashboard.test.ts

Remove custom App Router error boundary pages for root, global, and session routes so route failures fall back to Next.js default error handling. Also remove boundary-specific tests that are no longer applicable.

Made-with: Cursor
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.

Rare garbled terminal rendering during agent streaming (xterm.js v5.3.0)

1 participant