Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clear cachedSearchTerm when decorations are cleared #3750

Merged
merged 2 commits into from
Apr 27, 2022

Conversation

meganrogge
Copy link
Member

fix #3749

@meganrogge meganrogge self-assigned this Apr 27, 2022
@meganrogge meganrogge added this to the 4.19.0 milestone Apr 27, 2022
@meganrogge meganrogge enabled auto-merge (squash) April 27, 2022 18:00
@meganrogge meganrogge enabled auto-merge (squash) April 27, 2022 18:16
@meganrogge meganrogge merged commit 7fa32af into xtermjs:master Apr 27, 2022
@@ -102,7 +102,7 @@ export class SearchAddon implements ITerminalAddon {
this._onDataDisposable?.dispose();
}

public clearDecorations(): void {
public clearDecorations(internal?: boolean): void {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be more descriptive like clearCachedSearchTerm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

highlight all matches triggered by onData even after clearDecorations is called
1 participant