Files
NapCatQQ/.pnpm-store/v3/files/64/d0e80b71af482930d9be973d46163545df1c9c3be9477a9be15b32d73ed7a4648fc795cf31dbac5c4d9db43c1879183363f0b6300caaf631c956199ecd9d9e
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

22 lines
554 B
Plaintext

## @xterm/addon-web-links
An addon for [xterm.js](https://github.com/xtermjs/xterm.js) that enables web links. This addon requires xterm.js v4+.
### Install
```bash
npm install --save @xterm/addon-web-links
```
### Usage
```ts
import { Terminal } from '@xterm/xterm';
import { WebLinksAddon } from '@xterm/addon-web-links';
const terminal = new Terminal();
terminal.loadAddon(new WebLinksAddon());
```
See the full [API](https://github.com/xtermjs/xterm.js/blob/master/addons/addon-web-links/typings/addon-web-links.d.ts) for more advanced usage.