未验证 提交 e2ee9ea2 编写于 作者: A Andre Weinand 提交者: GitHub

Merge pull request #88041 from neonsea/history-pollution

Avoid polluting shell history with debugger commands
......@@ -94,7 +94,8 @@ export function prepareCommand(args: DebugProtocol.RunInTerminalRequestArguments
}
let quote: (s: string) => string;
let command = '';
// begin command with a space to avoid polluting shell history
let command = ' ';
switch (shellType) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册