src/vs/workbench/contrib/terminal/browser/terminalInstance.ts/TerminalInstance/attachToElement
class TerminalInstance:	attachToElement(container: HTMLElement): void {
		// The container did not change, do nothing
		if (this._container === container) {
			return;
		}

		this._attachBarrier.open();

		// The container changed, reattach
		this._container = container;
		this._container.appendChild(this._wrapperElement);
		if (this.findWidget.hasValue()) {
			this._container.appendChild(this.findWidget.getValue().getDomNode());
		}
		setTimeout(() => this._initDragAndDrop(container));
	}