From 45d0d3c5f431688aa9dfbd6a4214256d6fe64122 Mon Sep 17 00:00:00 2001 From: salmonik Date: Wed, 18 Nov 2026 12:34:33 +0100 Subject: 0.9.2: doc accuracy and UX fixes from the review - missing key exits 1, consistent with --doctor - HTML error bodies get a one-line message - no unapprovable diff printed on a non-terminal - weak GLIBC_2.39 fix covers x86_64 gnu as well as i686 - README/PLAN/CHANGELOG brought in line with the actual binary --- src/ui.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/ui.rs') diff --git a/src/ui.rs b/src/ui.rs index fe0264b..1d59ac4 100644 --- a/src/ui.rs +++ b/src/ui.rs @@ -269,6 +269,10 @@ impl Approver { if self.yolo || self.edits_allowed { return true; } + // No point showing a diff that no one is present to approve. + if !self.interactive { + return false; + } println!("{preview}"); // The path is already on the tool line above. let _ = path; -- cgit v1.2.3