/xterm-addon-web-links

Addons by the core team are now developed in the main repo

Primary LanguageTypeScriptMIT LicenseMIT

xterm-addon-web-links

⚠️ This addon has moved to the core xtermjs/xterm.js repo ⚠️

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.