Files
xterm.js/addons/addon-web-links
Cursor AgentandDaniel Imms 701c0affd5 Move common primitives to src/common/primitives/
Phase 1 of #5963: reorganize building blocks (buffer, parser, input,
data, and shared utilities) under common/primitives/. Runtime code
(services, public API, CoreTerminal, InputHandler) stays in place.

Update import paths across browser, headless, addons, and tests.
Add TypeScript path mappings so common/* aliases resolve primitives
first, then the common root.

Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com>
2026-06-06 18:21:03 +00:00
..
2025-06-13 08:19:31 -07: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

An addon for xterm.js that enables web links. This addon requires xterm.js v4+.

Install

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

Usage

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

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

See the full API for more advanced usage.