aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui.rs
diff options
context:
space:
mode:
authorsalmonik <salmon@2137697.xyz>2026-11-23 21:18:18 +0100
committersalmonik <salmon@2137697.xyz>2026-11-23 21:18:18 +0100
commit93844b688e08096e45e67fbadaa07626bef6d67d (patch)
tree4d85f36369d8902a8bde4553096ceb0db398e7bb /src/ui.rs
parentAdd .editorconfig (diff)
downloadagent686-93844b688e08096e45e67fbadaa07626bef6d67d.tar.gz
agent686-93844b688e08096e45e67fbadaa07626bef6d67d.zip
Format with rustfmt
Diffstat (limited to '')
-rw-r--r--src/ui.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ui.rs b/src/ui.rs
index 9931a7d..1ffe34c 100644
--- a/src/ui.rs
+++ b/src/ui.rs
@@ -307,8 +307,10 @@ impl Approver {
307 return true; 307 return true;
308 } 308 }
309 // Bash prompts every call by design, so "always" is not offered here. 309 // Bash prompts every call by design, so "always" is not offered here.
310 self.ask(&format!("run: {}", crate::provider::truncate(cmd, 200)), false) 310 self.ask(
311 == Answer::Yes 311 &format!("run: {}", crate::provider::truncate(cmd, 200)),
312 false,
313 ) == Answer::Yes
312 } 314 }
313} 315}
314 316