inline assistant: Do not dismiss while generating when hitting enter (#32810)

Closes #32798

Release Notes:

- Fixed an issue where the inline assistant would be dismissed when
hitting enter while generating code
This commit is contained in:
Bennet Bo Fenner 2025-06-16 19:12:55 +02:00 committed by GitHub
parent baad66c740
commit 6e04b9ef65
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 1 additions and 10 deletions

View file

@ -765,9 +765,6 @@ impl InlineAssistant {
PromptEditorEvent::CancelRequested => {
self.finish_assist(assist_id, true, window, cx);
}
PromptEditorEvent::DismissRequested => {
self.dismiss_assist(assist_id, window, cx);
}
PromptEditorEvent::Resized { .. } => {
// This only matters for the terminal inline assistant
}