src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.ts/XtermTerminal/_updateDecorationAddon
class XtermTerminal:	private _updateDecorationAddon(): void {
		if (this._configHelper.config.shellIntegration?.enabled && this._configHelper.config.shellIntegration.decorationsEnabled) {
			if (!this._decorationAddon) {
				this._createDecorationAddon();
			}
			return;
		}
		if (this._decorationAddon) {
			this._decorationAddon.dispose();
			this._decorationAddon = undefined;
		}
	}