src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.ts/XtermTerminal/attachToElement
class XtermTerminal:	attachToElement(container: HTMLElement): HTMLElement {
		// Update the theme when attaching as the terminal location could have changed
		this._updateTheme();
		if (!this._container) {
			this.raw.open(container);
		}
		this._container = container;
		if (this._shouldLoadWebgl()) {
			this._enableWebglRenderer();
		}
		// Screen must be created at this point as xterm.open is called
		return this._container.querySelector('.xterm-screen')!;
	}