未验证 提交 31746a4f 编写于 作者: C Connor Peet 提交者: GitHub

Merge pull request #108126 from microsoft/alexr00/issue107969

Revert "cancel input before executing new command; fixes #106743"
......@@ -95,12 +95,8 @@ export function prepareCommand(shell: string, args: string[], cwd?: string, env?
}
let quote: (s: string) => string;
// cancel the current input (to avoid executing the command accidentally)
let command = '\u0003'; // Control-C
// begin command with a space to avoid polluting shell history
command += ' ';
let command = ' ';
switch (shellType) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册