don't return if results are the same bc color might have changed (#3731)

This commit is contained in:
Megan Rogge
2022-04-08 21:07:46 +00:00
committed by GitHub
parent 2b916a24aa
commit 85b5161380
@@ -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();