This commit is contained in:
Megan Rogge
2022-04-19 08:25:17 -07:00
committed by GitHub
parent e98b6315e4
commit 0785a1bf24
+1 -1
View File
@@ -81,7 +81,7 @@ export class SearchAddon implements ITerminalAddon {
} }
if (this._cachedSearchTerm && this._lastSearchOptions?.decorations) { if (this._cachedSearchTerm && this._lastSearchOptions?.decorations) {
this._highlightTimeout = setTimeout(() => { this._highlightTimeout = setTimeout(() => {
this.findPrevious(this._cachedSearchTerm!, { ...this._lastSearchOptions, incremental: true }); this._highlightAllMatches(this._cachedSearchTerm!, { ...this._lastSearchOptions, incremental: true });
}, 200); }, 200);
} }
}); });