mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Update addons/xterm-addon-search/src/SearchAddon.ts
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com>
This commit is contained in:
co-authored by
Daniel Imms
parent
4cea6b3f41
commit
64d5af38f5
@@ -70,7 +70,7 @@ export class SearchAddon implements ITerminalAddon {
|
||||
this._dataChanged = true;
|
||||
setTimeout(() => {
|
||||
if (this._lastSearchOptions?.decorations && this._cachedSearchTerm && this._resultDecorations.size > 0 && this._lastSearchOptions) {
|
||||
this._highlightAllMatches(this._cachedSearchTerm, this._lastSearchOptions,'previous');
|
||||
this._highlightAllMatches(this._cachedSearchTerm, this._lastSearchOptions, 'previous');
|
||||
}
|
||||
}, 200);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user