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

Release Notes:

- N/A

Signed-off-by: Yang Gang <yanggang.uefi@gmail.com>
This commit is contained in:
Yang Gang 2025-08-16 05:03:50 +08:00 committed by GitHub
parent 9eb1ff2726
commit f365403618
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -309,7 +309,7 @@ pub struct AgentSettingsContent {
/// ///
/// Default: true /// Default: true
expand_terminal_card: Option<bool>, 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 /// Default: false
use_modifier_to_send: Option<bool>, use_modifier_to_send: Option<bool>,

View file

@ -465,7 +465,7 @@ impl AgentConfiguration {
"modifier-send", "modifier-send",
"Use modifier to submit a message", "Use modifier to submit a message",
Some( 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, use_modifier_to_send,
move |state, _window, cx| { move |state, _window, cx| {