Skip to content

Commit

Permalink
fix #3735 (#3736)
Browse files Browse the repository at this point in the history
  • Loading branch information
meganrogge authored Apr 19, 2022
1 parent e98b631 commit 0785a1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/xterm-addon-search/src/SearchAddon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export class SearchAddon implements ITerminalAddon {
}
if (this._cachedSearchTerm && this._lastSearchOptions?.decorations) {
this._highlightTimeout = setTimeout(() => {
this.findPrevious(this._cachedSearchTerm!, { ...this._lastSearchOptions, incremental: true });
this._highlightAllMatches(this._cachedSearchTerm!, { ...this._lastSearchOptions, incremental: true });
}, 200);
}
});
Expand Down

0 comments on commit 0785a1b

Please sign in to comment.