src/vs/workbench/contrib/terminal/browser/xterm/decorationAddon.ts/DecorationAddon/clearDecorations
class DecorationAddon:	public clearDecorations(disableDecorations?: boolean): void {
		if (disableDecorations) {
			this._commandStartedListener?.dispose();
			this._commandFinishedListener?.dispose();
		}
		this._placeholderDecoration?.dispose();
		this._placeholderDecoration?.marker.dispose();
		for (const value of this._decorations.values()) {
			value.decoration.dispose();
			dispose(value.disposables);
		}
		this._decorations.clear();
	}