Skip to content

Commit 612378a

Browse files
committed
Disable auto replies by default
Fixes microsoft#142341
1 parent d6ee99e commit 612378a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/vs/workbench/contrib/terminal/common/terminalConfiguration.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ const terminalConfiguration: IConfigurationNode = {
505505
default: true
506506
},
507507
[TerminalSettingId.AutoReplies]: {
508-
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.", '`"\\r"`'),
508+
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 {0} in the reply to mean the enter key.\n- To unset a default key, set the value to null.", '`"Terminate batch job (Y/N)": "\\r"`', '`"\\r"`'),
509509
type: 'object',
510510
additionalProperties: {
511511
oneOf: [{
@@ -514,9 +514,7 @@ const terminalConfiguration: IConfigurationNode = {
514514
},
515515
{ type: 'null' }]
516516
},
517-
default: {
518-
'Terminate batch job (Y/N)': 'Y\r'
519-
}
517+
default: {}
520518
},
521519
[TerminalSettingId.EnableShellIntegration]: {
522520
restricted: true,

0 commit comments

Comments
 (0)