@xterm/addon-search
TypeScript icon, indicating that this package has built-in type declarations

0.15.0 • Public • Published

@xterm/addon-search

An addon for xterm.js that enables searching the buffer. This addon requires xterm.js v4+.

Install

npm install --save @xterm/addon-search

Usage

import { Terminal } from '@xterm/xterm';
import { SearchAddon } from '@xterm/addon-search';

const terminal = new Terminal();
const searchAddon = new SearchAddon();
terminal.loadAddon(searchAddon);
searchAddon.findNext('foo');

See the full API for more advanced usage.

Readme

Keywords

Package Sidebar

Install

npm i @xterm/addon-search

Weekly Downloads

22,705

Version

0.15.0

License

MIT

Unpacked Size

95.8 kB

Total Files

7

Last publish

Collaborators

  • tyriar