提交 32f09331 编写于 作者: D Daniel Imms

Focus terminal before running paste command

Fixes #9760
上级 44cd0bee
......@@ -190,7 +190,9 @@ export class TerminalService implements ITerminalService {
public paste(): TPromise<any> {
return this.showAndGetTerminalPanel().then((terminalPanel) => {
document.execCommand('paste');
this.focus().then(() => {
document.execCommand('paste');
});
});
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册