提交 d6e0d427 编写于 作者: D Daniel Imms

Fix workbench.action.terminal.focus when the terminal panel is visible

Fixes #11714
上级 8ef8fa72
...@@ -144,6 +144,9 @@ export class TerminalService implements ITerminalService { ...@@ -144,6 +144,9 @@ export class TerminalService implements ITerminalService {
complete(<TerminalPanel>panel); complete(<TerminalPanel>panel);
}); });
} else { } else {
if (focus) {
panel.focus();
}
complete(<TerminalPanel>panel); complete(<TerminalPanel>panel);
} }
}); });
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册