Merge pull request #218405 from microsoft/tyriar/218402

Reset inline chat widget before terminal chat widget
This commit is contained in:
Daniel Imms 2024-06-26 08:27:03 -07:00 committed by GitHub
commit 720c89311e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -194,11 +194,11 @@ export class TerminalChatWidget extends Disposable {
hide(): void {
this._container.classList.add('hide');
this._inlineChatWidget.reset();
this._reset();
this._inlineChatWidget.updateChatMessage(undefined);
this._inlineChatWidget.updateProgress(false);
this._inlineChatWidget.updateToolbar(false);
this._inlineChatWidget.reset();
this._focusedContextKey.set(false);
this._visibleContextKey.set(false);
this._inlineChatWidget.value = '';