src/vs/workbench/contrib/terminal/browser/terminalEditorInput.ts/TerminalEditorInput/terminalInstance
class TerminalEditorInput:	get terminalInstance(): ITerminalInstance | undefined {
		return this._isDetached ? undefined : this._terminalInstance;
	}