Skip to content

Commit 56c3de4

Browse files
committed
Make new rules message italics
Fixes microsoft#261325
1 parent 3c25740 commit 56c3de4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vs/workbench/contrib/chat/browser/chatContentParts/toolInvocationParts/chatTerminalToolConfirmationSubPart.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,9 +206,9 @@ export class ChatTerminalToolConfirmationSubPart extends BaseChatToolInvocationS
206206
}
207207
await this.configurationService.updateValue(TerminalContribSettingId.AutoApprove, newValue);
208208
if (newRules.length === 1) {
209-
terminalData.autoApproveInfo = new MarkdownString(localize('newRule', 'Auto approve rule {0} added', `[\`${newRules[0].key}\`](settings_a)`));
209+
terminalData.autoApproveInfo = new MarkdownString(`_${localize('newRule', 'Auto approve rule {0} added', `[\`${newRules[0].key}\`](settings_a)`)}_`);
210210
} else if (newRules.length > 1) {
211-
terminalData.autoApproveInfo = new MarkdownString(localize('newRule.plural', 'Auto approve rules {0} added', newRules.map(r => `[\`${r.key}\`](settings_a)`).join(', ')));
211+
terminalData.autoApproveInfo = new MarkdownString(`_${localize('newRule.plural', 'Auto approve rules {0} added', newRules.map(r => `[\`${r.key}\`](settings_a)`).join(', '))}_`);
212212
}
213213
break;
214214
}

0 commit comments

Comments
 (0)