mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-20 02:08:47 +00:00
Pin chat editor when request is made (#278710)
This commit is contained in:
@@ -115,6 +115,9 @@ export class ChatEditor extends EditorPane {
|
||||
inputEditorBackground: inputBackground,
|
||||
resultEditorBackground: editorBackground
|
||||
}));
|
||||
this._register(this.widget.onDidSubmitAgent(() => {
|
||||
this.group.pinEditor(this.input);
|
||||
}));
|
||||
this.widget.render(parent);
|
||||
this.widget.setVisible(true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user