Skip to content

Update xterm.js to 6.1.0-beta.220#317936

Draft
anthonykim1 wants to merge 2 commits into
mainfrom
anthonykim1/updateXtermMay21
Draft

Update xterm.js to 6.1.0-beta.220#317936
anthonykim1 wants to merge 2 commits into
mainfrom
anthonykim1/updateXtermMay21

Conversation

@anthonykim1
Copy link
Copy Markdown
Contributor

Resolves: #317740

@anthonykim1 anthonykim1 added this to the 1.122.0 milestone May 22, 2026
@anthonykim1 anthonykim1 self-assigned this May 22, 2026
Copilot AI review requested due to automatic review settings May 22, 2026 06:06
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the VS Code terminal’s xterm.js dependency set to newer 6.1.0 beta builds (and matching addon betas), picking up upstream fixes referenced in #317740, and adjusts the clipboard addon integration for the updated addon API surface.

Changes:

  • Bump @xterm/xterm to 6.1.0-beta.220 and update related @xterm/* addon versions across root/remote/web packages and lockfiles.
  • Adjust the clipboard addon handler typings in XtermTerminal to match the updated @xterm/addon-clipboard type exports.
Show a summary per file
File Description
src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.ts Updates clipboard addon import and handler callback parameter types to align with the updated addon typings.
package.json Bumps xterm.js and addons to the newer beta versions used by desktop builds.
package-lock.json Lockfile refresh for updated xterm.js/addons and related dependency graph adjustments.
remote/package.json Bumps xterm.js, addons, and headless xterm for remote (REH) builds.
remote/package-lock.json Lockfile refresh for remote package dependency updates.
remote/web/package.json Bumps xterm.js and addons for web-remote packaging.
remote/web/package-lock.json Lockfile refresh for remote web package dependency updates.

Copilot's findings

Files not reviewed (2)
  • remote/package-lock.json: Language not supported
  • remote/web/package-lock.json: Language not supported
  • Files reviewed: 4/7 changed files
  • Comments generated: 0

}
this._clipboardAddon = this._instantiationService.createInstance(ClipboardAddon, undefined, {
async readText(type: ClipboardSelectionType): Promise<string> {
async readText(type: string): Promise<string> {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why? Did the type signature change?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Api shape changed.

Also what's wrong with #317927 ? Why make a new PR?

Same reason. Thanks for the interest

@niclimcy
Copy link
Copy Markdown

niclimcy commented May 22, 2026

Also what's wrong with #317927 ? Why make a new PR?

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.

Update xterm.js to latest

3 participants