This commit is contained in:
meganrogge 2021-07-01 12:24:38 -07:00
parent 684353798e
commit 3fd46f4654
No known key found for this signature in database
GPG key ID: 3155C8B2F0428C81

View file

@ -85,7 +85,6 @@ export class TerminalEditor extends EditorPane {
}
override async setInput(newInput: TerminalEditorInput, options: IEditorOptions | undefined, context: IEditorOpenContext, token: CancellationToken) {
this._editorInput?.terminalInstance?.detachFromElement();
this._editorInput = newInput;
await super.setInput(newInput, options, context, token);
this._editorInput.terminalInstance?.attachToElement(this._parentElement!);