Skip to content

Commit

Permalink
don't return if results are the same bc color might have changed (#3731)
Browse files Browse the repository at this point in the history
  • Loading branch information
meganrogge authored Apr 8, 2022
1 parent 2b916a2 commit 85b5161
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions addons/xterm-addon-search/src/SearchAddon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,6 @@ export class SearchAddon implements ITerminalAddon {
return;
}
searchOptions = searchOptions || {};
if (term === this._cachedSearchTerm && !this._dataChanged) {
return;
}

// new search, clear out the old decorations
this.clearDecorations();
Expand Down

0 comments on commit 85b5161

Please sign in to comment.