Merge pull request #4827 from Tyriar/tyriar/4821

Bring back search clearActiveDecoration
This commit is contained in:
Daniel Imms
2023-09-27 08:04:30 -07:00
committed by GitHub
@@ -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.