tui: /yolo works while a turn runs; '!' on permission prompt allows and enables yolo

This commit is contained in:
hermes committed 2026-10-17 13:52:39 +00:00
1 parent 43944eb6b5
commit 5171e7458a
3 files changed
+18 -2

No files matched your search

+4
View File
@@ -366,6 +366,10 @@ impl Allow {
})
}
pub fn yolo_on(&self) -> bool {
self.yolo
}
/// Toggle: allow everything (not persisted); returns the new state.
pub fn toggle_yolo(&mut self) -> bool {
self.yolo = !self.yolo;