You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

610 B

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.