src/vs/workbench/contrib/terminal/browser/terminalFindWidget.ts/TerminalFindWidget/_findPreviousWithEvent
class TerminalFindWidget:	private async _findPreviousWithEvent(xterm: IXtermTerminal, term: string, options: ISearchOptions): Promise<boolean> {
		return xterm.findPrevious(term, options).then(foundMatch => {
			this._register(Event.once(xterm.onDidChangeSelection)(() => xterm.clearActiveSearchDecoration()));
			return foundMatch;
		});
	}