提交 52690ed9 编写于 作者: D Daniel Imms

Re-enable integrated term windows shell args

Fixes #8429
上级 74d0241a
......@@ -61,6 +61,14 @@ configurationRegistry.registerConfiguration({
'type': 'string',
'default': TERMINAL_DEFAULT_SHELL_WINDOWS
},
'terminal.integrated.shellArgs.windows': {
'description': nls.localize('terminal.integrated.shellArgs.windows', "The command line arguments to use when on the Windows terminal."),
'type': 'array',
'items': {
'type': 'string'
},
'default': []
},
'terminal.integrated.fontFamily': {
'description': nls.localize('terminal.integrated.fontFamily', "Controls the font family of the terminal, this defaults to editor.fontFamily's value."),
'type': 'string'
......
......@@ -39,7 +39,8 @@ export interface ITerminalConfiguration {
},
shellArgs: {
linux: string[],
osx: string[]
osx: string[],
windows: string[]
},
cursorBlinking: boolean,
fontFamily: string,
......
......@@ -160,6 +160,7 @@ export class TerminalConfigHelper {
};
if (this._platform === Platform.Windows) {
shell.executable = config.terminal.integrated.shell.windows;
shell.args = config.terminal.integrated.shellArgs.windows;
} else if (this._platform === Platform.Mac) {
shell.executable = config.terminal.integrated.shell.osx;
shell.args = config.terminal.integrated.shellArgs.osx;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册