Skip to content

Commit

Permalink
Revert "fix #126469"
Browse files Browse the repository at this point in the history
This reverts commit 3fd46f4.
  • Loading branch information
meganrogge committed Jul 1, 2021
1 parent 64e1bd2 commit f5da394
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ 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!);
Expand Down

0 comments on commit f5da394

Please sign in to comment.