提交 6c75cded 编写于 作者: D Daniel Imms

Make sure onDidChangeActiveTerminal fires not just by focus

Part of #64390
上级 a684fe7e
......@@ -68,6 +68,7 @@ export abstract class TerminalService implements ITerminalService {
this._terminalFocusContextKey = KEYBINDING_CONTEXT_TERMINAL_FOCUS.bindTo(this._contextKeyService);
this._findWidgetVisible = KEYBINDING_CONTEXT_TERMINAL_FIND_WIDGET_VISIBLE.bindTo(this._contextKeyService);
this.onTabDisposed(tab => this._removeTab(tab));
this.onActiveTabChanged(() => this._onActiveInstanceChanged.fire(this.getActiveInstance()));
this._handleContextKeys();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册