Files
xterm.js/addons/xterm-addon-search
Bruno Ribeiro 27c87319c1 Fix #2714 - Start demo server before running integration tests
- Use port 3001 instead of  300 to not conflict with the demo
2021-04-06 15:48:48 +01:00
..
…
…
…
…

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';
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.