Skip to content

Commit 1a2cc56

Browse files
authored
Voice: terminal controller is not behaving like view/inline (fix microsoft#208791) (microsoft#208800)
1 parent 3574756 commit 1a2cc56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ export class TerminalChatController extends Disposable implements ITerminalContr
261261
throw new Error('Could not start chat session');
262262
}
263263
}
264+
this._messages.fire(Message.ACCEPT_INPUT);
264265
const model = this._model.value;
265266

266267
this._lastInput = this._chatWidget?.value?.input();
@@ -326,7 +327,6 @@ export class TerminalChatController extends Disposable implements ITerminalContr
326327
this._chatWidget?.value.inlineChatWidget.updateChatMessage({ message: new MarkdownString(responseContent), requestId: this._currentRequest.id, providerId: 'terminal' }, false, containsCode);
327328
this._responseContainsCodeBlockContextKey.set(containsCode);
328329
this._chatWidget?.value.inlineChatWidget.updateToolbar(true);
329-
this._messages.fire(Message.ACCEPT_INPUT);
330330
}
331331
const supportIssueReporting = this._currentRequest?.response?.agent?.metadata?.supportIssueReporting;
332332
if (supportIssueReporting !== undefined) {

0 commit comments

Comments
 (0)