This package has been deprecated

Author message:

This package is now deprecated. Move to @xterm/addon-attach instead.

xterm-addon-attach
TypeScript icon, indicating that this package has built-in type declarations

0.9.0 • Public • Published

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';
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.

Readme

Keywords

Package Sidebar

Install

npm i xterm-addon-attach

Weekly Downloads

28,953

Version

0.9.0

License

MIT

Unpacked Size

12.8 kB

Total Files

7

Last publish

Collaborators

  • tyriar