src/vs/workbench/contrib/terminal/browser/terminalFindWidget.ts/TerminalFindWidget/find
class TerminalFindWidget:	find(previous: boolean, update?: boolean) {
		const xterm = this._terminalService.activeInstance?.xterm;
		if (!xterm) {
			return;
		}
		if (previous) {
			this._findPreviousWithEvent(xterm, this.inputValue, { regex: this._getRegexValue(), wholeWord: this._getWholeWordValue(), caseSensitive: this._getCaseSensitiveValue(), incremental: update });
		} else {
			this._findNextWithEvent(xterm, this.inputValue, { regex: this._getRegexValue(), wholeWord: this._getWholeWordValue(), caseSensitive: this._getCaseSensitiveValue() });
		}
	}