mirror of
https://github.com/microsoft/vscode.git
synced 2026-08-28 23:58:23 +01:00
Merge pull request #194676 from microsoft/merogge/wait
cover all cases so audio cue doesn't play forever
This commit is contained in:
@@ -686,6 +686,7 @@ export class InlineChatController implements IEditorContribution {
|
||||
// show status message
|
||||
status = localize('empty', "No results, please refine your input and try again");
|
||||
this._zone.value.widget.updateStatus(status, { classes: ['warn'] });
|
||||
this._chatAccessibilityService.acceptResponse(status);
|
||||
return State.WAIT_FOR_INPUT;
|
||||
|
||||
} else if (response instanceof ErrorResponse) {
|
||||
@@ -714,6 +715,7 @@ export class InlineChatController implements IEditorContribution {
|
||||
|
||||
const canContinue = this._strategy.checkChanges(response);
|
||||
if (!canContinue) {
|
||||
this._chatAccessibilityService.acceptResponse();
|
||||
return State.CANCEL;
|
||||
}
|
||||
status = this._configurationService.getValue('accessibility.verbosity.inlineChat') === true ? localize('editResponseMessage', "Use tab to navigate to the diff editor and review proposed changes.") : '';
|
||||
|
||||
Reference in New Issue
Block a user