Skip to content

Commit 720c893

Browse files
authored
Merge pull request microsoft#218405 from microsoft/tyriar/218402
Reset inline chat widget before terminal chat widget
2 parents ed20361 + 59c0407 commit 720c893

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,11 +194,11 @@ export class TerminalChatWidget extends Disposable {
194194

195195
hide(): void {
196196
this._container.classList.add('hide');
197+
this._inlineChatWidget.reset();
197198
this._reset();
198199
this._inlineChatWidget.updateChatMessage(undefined);
199200
this._inlineChatWidget.updateProgress(false);
200201
this._inlineChatWidget.updateToolbar(false);
201-
this._inlineChatWidget.reset();
202202
this._focusedContextKey.set(false);
203203
this._visibleContextKey.set(false);
204204
this._inlineChatWidget.value = '';

0 commit comments

Comments
 (0)