agent: Update use_modifier_to_send behavior description for Windows (#36230)

Yang Gang created

Release Notes:

- N/A

Signed-off-by: Yang Gang <yanggang.uefi@gmail.com>

Change summary

crates/agent_settings/src/agent_settings.rs | 2 +-
crates/agent_ui/src/agent_configuration.rs  | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

Detailed changes

crates/agent_settings/src/agent_settings.rs 🔗

@@ -309,7 +309,7 @@ pub struct AgentSettingsContent {
     ///
     /// Default: true
     expand_terminal_card: Option<bool>,
-    /// Whether to always use cmd-enter (or ctrl-enter on Linux) to send messages in the agent panel.
+    /// Whether to always use cmd-enter (or ctrl-enter on Linux or Windows) to send messages in the agent panel.
     ///
     /// Default: false
     use_modifier_to_send: Option<bool>,

crates/agent_ui/src/agent_configuration.rs 🔗

@@ -465,7 +465,7 @@ impl AgentConfiguration {
             "modifier-send",
             "Use modifier to submit a message",
             Some(
-                "Make a modifier (cmd-enter on macOS, ctrl-enter on Linux) required to send messages.".into(),
+                "Make a modifier (cmd-enter on macOS, ctrl-enter on Linux or Windows) required to send messages.".into(),
             ),
             use_modifier_to_send,
             move |state, _window, cx| {