src/vs/workbench/contrib/terminal/browser/terminalEditor.ts/TerminalEditor/setVisible
class TerminalEditor:	override setVisible(visible: boolean, group?: IEditorGroup): void {
		super.setVisible(visible, group);
		this._editorInput?.terminalInstance?.setVisible(visible && this._workbenchLayoutService.isVisible(Parts.EDITOR_PART));
	}