Skip to content

Commit

Permalink
Merge pull request #4827 from Tyriar/tyriar/4821
Browse files Browse the repository at this point in the history
Bring back search clearActiveDecoration
  • Loading branch information
Tyriar committed Sep 27, 2023
2 parents a3e933d + c080624 commit 810cc1d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions addons/xterm-addon-search/src/SearchAddon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,10 @@ export class SearchAddon extends Disposable implements ITerminalAddon {
}
}

public clearActiveDecoration(): void {
this._selectedDecoration.clear();
}

/**
* Find the next instance of the term, then scroll to and select it. If it
* doesn't exist, do nothing.
Expand Down

0 comments on commit 810cc1d

Please sign in to comment.