Fix enter to select model in agent panel (#34846)

Broken by #34664

Release Notes:

- N/A *or* Added/Fixed/Improved ...
This commit is contained in:
Ben Kunkle 2025-07-21 14:16:47 -05:00 committed by GitHub
parent 241acbe4be
commit 1a1715766f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View file

@ -277,7 +277,7 @@
} }
}, },
{ {
"context": "MessageEditor > Editor && !use_modifier_to_send", "context": "MessageEditor && !Picker > Editor && !use_modifier_to_send",
"bindings": { "bindings": {
"enter": "agent::Chat", "enter": "agent::Chat",
"ctrl-enter": "agent::ChatWithFollow", "ctrl-enter": "agent::ChatWithFollow",
@ -288,7 +288,7 @@
} }
}, },
{ {
"context": "MessageEditor > Editor && use_modifier_to_send", "context": "MessageEditor && !Picker > Editor && use_modifier_to_send",
"bindings": { "bindings": {
"ctrl-enter": "agent::Chat", "ctrl-enter": "agent::Chat",
"enter": "editor::Newline", "enter": "editor::Newline",

View file

@ -318,7 +318,7 @@
} }
}, },
{ {
"context": "MessageEditor > Editor && !use_modifier_to_send", "context": "MessageEditor && !Picker > Editor && !use_modifier_to_send",
"use_key_equivalents": true, "use_key_equivalents": true,
"bindings": { "bindings": {
"enter": "agent::Chat", "enter": "agent::Chat",
@ -330,7 +330,7 @@
} }
}, },
{ {
"context": "MessageEditor > Editor && use_modifier_to_send", "context": "MessageEditor && !Picker > Editor && use_modifier_to_send",
"use_key_equivalents": true, "use_key_equivalents": true,
"bindings": { "bindings": {
"cmd-enter": "agent::Chat", "cmd-enter": "agent::Chat",