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
..
2021-03-28 15:27:03 +03:00
2019-10-27 22:18:11 +01:00
2019-06-04 11:07:11 -07:00
2019-06-04 11:07:11 -07:00
2021-01-29 09:14:31 -08:00
2019-09-09 09:28:33 -07:00
2019-06-10 14:28:07 -07: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.