We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e59cfd8 commit 3f909eaCopy full SHA for 3f909ea
crates/chat-cli/src/cli/chat/tools/execute/mod.rs
@@ -49,7 +49,7 @@ pub struct ExecuteCommand {
49
impl ExecuteCommand {
50
pub fn requires_acceptance(&self, allowed_commands: Option<&Vec<String>>, allow_read_only: bool) -> bool {
51
// Always require acceptance for multi-line commands.
52
- if self.command.contains("\n") {
+ if self.command.contains("\n") || self.command.contains("\r") {
53
return true;
54
}
55
0 commit comments