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": {
"enter": "agent::Chat",
"ctrl-enter": "agent::ChatWithFollow",
@ -288,7 +288,7 @@
}
},
{
"context": "MessageEditor > Editor && use_modifier_to_send",
"context": "MessageEditor && !Picker > Editor && use_modifier_to_send",
"bindings": {
"ctrl-enter": "agent::Chat",
"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,
"bindings": {
"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,
"bindings": {
"cmd-enter": "agent::Chat",