Skip to content

Commit

Permalink
Merge pull request microsoft#229442 from microsoft/merogge/hide
Browse files Browse the repository at this point in the history
don't hide terminal chat widget on blur
  • Loading branch information
Tyriar authored Sep 29, 2024
2 parents b116d4a + a9c4594 commit 59f2e39
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,7 @@ export class TerminalChatWidget extends Disposable {

this._focusTracker = this._register(trackFocus(this._container));
this._register(this._focusTracker.onDidFocus(() => this._focusedContextKey.set(true)));
this._register(this._focusTracker.onDidBlur(() => {
this._focusedContextKey.set(false);
if (!this.inlineChatWidget.responseContent) {
this.hide();
}
}));
this._register(this._focusTracker.onDidBlur(() => this._focusedContextKey.set(false)));

this.hide();
}
Expand Down

0 comments on commit 59f2e39

Please sign in to comment.