fix #126469
This commit is contained in:
parent
684353798e
commit
3fd46f4654
|
@ -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!);
|
||||
|
|
Loading…
Reference in a new issue