This commit is contained in:
meganrogge
2023-07-12 08:29:32 -07:00
parent ad395686d2
commit c4516310ba
3 changed files with 4 additions and 2 deletions
@@ -44,7 +44,7 @@ const configuration: IConfigurationNode = {
...baseProperty
},
[AccessibilityVerbositySettingId.InlineChat]: {
description: localize('verbosity.interactiveEditor.description', 'Provide information about how to access the inline editor chat accessibility help menu when the input is focused'),
description: localize('verbosity.interactiveEditor.description', 'Provide information about how to access the inline editor chat accessibility help menu and alert with hints which describe how to use the feature when the input is focused'),
...baseProperty
},
[AccessibilityVerbositySettingId.KeybindingsEditor]: {
@@ -655,7 +655,7 @@ export class InlineChatController implements IEditorContribution {
if (!canContinue) {
return State.ACCEPT;
}
status = localize('editResponseMessage', "Use tab to navigate to the diff editor and review proposed changes.");
status = this._configurationService.getValue('accessibility.verbosity.inlineChat') === true ? localize('editResponseMessage', "Use tab to navigate to the diff editor and review proposed changes.") : '';
await this._strategy.renderChanges(response);
}
this._chatAccessibilityService.acceptResponse(status);
@@ -73,6 +73,8 @@ export class AccessibleBufferWidget extends TerminalAccessibleWidget {
await this.updateEditor();
this.element.classList.add(ClassName.Active);
}));
// xterm's initial layout call has already happened
this.layout();
}
navigateToCommand(type: NavigationType): void {