mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 17:19:48 +01:00
Add todo for joinInstances
This commit is contained in:
@@ -956,7 +956,6 @@ export class TerminalInstance extends Disposable implements ITerminalInstance {
|
||||
this._wrapperElement.xterm = undefined;
|
||||
}
|
||||
if (this._wrapperElement.parentElement && this._container) {
|
||||
console.log('dispose');
|
||||
this._container.removeChild(this._wrapperElement);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -788,7 +788,7 @@ export class TerminalService implements ITerminalService {
|
||||
}
|
||||
source.target = TerminalTarget.TerminalView;
|
||||
|
||||
// TODO: Share code with joinInstances
|
||||
// TODO: Share code with joinInstances - move into terminal group service
|
||||
const group = this._instantiationService.createInstance(TerminalGroup, this._terminalContainer, undefined);
|
||||
group.onPanelOrientationChanged((orientation) => this._onPanelOrientationChanged.fire(orientation));
|
||||
this._terminalGroups.push(group);
|
||||
|
||||
Reference in New Issue
Block a user