diff --git a/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.ts b/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.ts index 477c4c23f49..f9802f69658 100644 --- a/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.ts +++ b/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.ts @@ -35,6 +35,10 @@ export class TerminalEditorInput extends EditorInput { return this._instantiationService.createInstance(TerminalEditorInput, instance); } + /** + * Sets what instance to use for the next call to IEditorInput.copy, this is used to define what + * terminal instance is used when the editor's split command is run. + */ setCopyInstance(instance: ITerminalInstance) { this._copyInstance = instance; }