未验证 提交 50404fe3 编写于 作者: M Megan Rogge

move listeners outside of onProcessReady block

上级 86fe048d
......@@ -1275,6 +1275,8 @@ export class TerminalInstance extends Disposable implements ITerminalInstance {
});
});
this.refreshTabLabels(this._shellLaunchConfig.executable, TitleEventSource.Process);
}
});
this._processManager.onProcessData(ev => {
this._initialDataEvents?.push(ev.data);
......@@ -1295,8 +1297,6 @@ export class TerminalInstance extends Disposable implements ITerminalInstance {
this.statusList.remove(TerminalStatus.Disconnected);
});
}
});
}
private async _createProcess(): Promise<void> {
if (this._isDisposed) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册