src/vs/workbench/api/browser/mainThreadTerminalService.ts/MainThreadTerminalService/$hide
class MainThreadTerminalService:	public $hide(id: TerminalIdentifier): void {
		const rendererId = this._getTerminalId(id);
		const instance = this._terminalService.activeInstance;
		if (instance && instance.instanceId === rendererId) {
			this._terminalGroupService.hidePanel();
		}
	}