Files
xterm.js/addons/xterm-addon-web-links/README.md
T
Daniel Imms d4be839d8d Remove @xtermjs package scope
Too big of a change for now, I think we should do this when/if we
move to GH package registry (we would have to I think).
2019-06-04 11:07:11 -07:00

808 B

Build Status

An addon for xterm.js that enabled web links. This addon requires xterm.js 3.14+.

Install

npm install --save xterm-addon-web-links

Usage

import { Terminal } from 'xterm';
import { WebLinksAddon } from 'xterm-addon-web-links';

const terminal = new Terminal();
terminal.loadAddon(new WebLinksAddon());

You can also specify a custom handler and options, see the API for more details.