xterm-addon-search

xtermjs
js deprecated
xterm-addon-search JS library on GitHub xterm-addon-search JS library on npm Download xterm-addon-search JS library

An addon for [xterm.js](https://github.com/xtermjs/xterm.js) that enables searching the buffer. This addon requires xterm.js v4+.

Version 0.13.0 License MIT
xterm-addon-search has no homepage
xterm-addon-search JS library on GitHub
xterm-addon-search JS library on npm
Download xterm-addon-search JS library
Keywords
terminalxtermxterm.js
INSTALL
Type:
Version:
Learn more

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.