Disable auto replies by default

Fixes #142341
This commit is contained in:
Daniel Imms 2022-02-07 12:00:35 -08:00
parent 10da7d1b09
commit 284422f91d

View file

@ -505,7 +505,7 @@ const terminalConfiguration: IConfigurationNode = {
default: true
},
[TerminalSettingId.AutoReplies]: {
markdownDescription: localize('terminal.integrated.autoReplies', "A set of messages that when encountered in the terminal will be automatically responded to. Provided the message is specific enough, this can help automate away common responses.\n\nRemarks:\n\n- The message includes escape sequences so the reply might not happen with styled text.\n- Each reply can only happen once every second.\n- Use {0} in the reply to mean the enter key.\n- To unset a default key, set the value to null.\n- Restart VS Code if new don't apply.", '`"\\r"`'),
markdownDescription: localize('terminal.integrated.autoReplies', "A set of messages that when encountered in the terminal will be automatically responded to. Provided the message is specific enough, this can help automate away common responses.\n\nRemarks:\n\n- Use {0} to automatically respond to the terminate batch job prompt on Windows.\n- The message includes escape sequences so the reply might not happen with styled text.\n- Each reply can only happen once every second.\n- Use {1} in the reply to mean the enter key.\n- To unset a default key, set the value to null.\n- Restart VS Code if new don't apply.", '`"Terminate batch job (Y/N)": "\\r"`', '`"\\r"`'),
type: 'object',
additionalProperties: {
oneOf: [{
@ -514,9 +514,7 @@ const terminalConfiguration: IConfigurationNode = {
},
{ type: 'null' }]
},
default: {
'Terminate batch job (Y/N)': 'Y\r'
}
default: {}
},
[TerminalSettingId.EnableShellIntegration]: {
restricted: true,