Bring back search clearActiveDecoration

This was removed accidentally in 57db72d

Fixes #4821
This commit is contained in:
Daniel Imms
2023-09-27 07:56:31 -07:00
parent a3e933d98b
commit c08062420f
@@ -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.