Files
xterm.js/addons/xterm-addon-attach
2023-09-10 08:33:48 -07:00
..
2023-09-01 07:36:48 -07:00
2023-09-03 07:20:20 -07:00
2022-07-27 06:49:35 -07:00
2019-06-04 11:07:11 -07:00
2019-06-04 11:07:11 -07:00
2023-09-07 10:46:35 -07:00
2019-09-24 17:46:12 +03:00
2019-06-10 14:28:07 -07: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';
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.