Files
xterm.js/addons/addon-attach
Daniel ImmsandCursor 9a70816dad test(addon-attach): correct Playwright suite name in AttachAddon tests
The integration test file used test.describe('Search Tests'), copied from
addon-search. That mislabels attach-addon results in Playwright reports and
makes the suite harder to filter or debug.

Rename the block to 'AttachAddon' so the describe name matches the addon
under test. No test logic changed.

Validated with: npm run build && npm run esbuild, npm run test-unit,
npm run esbuild-demo-client && npm run esbuild-demo-server &&
npm run test-integration, npm run package, npm run package-headless.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-01 15:29:07 +00:00
..
2024-07-07 09:15:25 -07:00
2023-11-01 10:35:10 -07:00
2026-02-13 06:59:24 -08:00
2023-11-01 10:35:10 -07:00
2024-01-13 13:23:33 -06:00

@xterm/addon-attach

An addon for xterm.js that enables attaching to a web socket. This addon requires xterm.js v4+.

Install

npm install --save @xterm/addon-attach

Usage

import { Terminal } from '@xterm/xterm';
import { AttachAddon } from '@xterm/addon-attach';

const terminal = new Terminal();
const attachAddon = new AttachAddon(webSocket);
terminal.loadAddon(attachAddon);

See the full API for more advanced usage.