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:
parent
baad66c740
commit
6e04b9ef65
3 changed files with 1 additions and 10 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue