re-add tui_main, fixing examples

This commit is contained in:
i do not exist 2026-04-15 11:11:36 +03:00
parent a93fe92a59
commit 6c382e2627
7 changed files with 89 additions and 44 deletions

View file

@ -8,3 +8,10 @@ impl Exit {
run(Self(Arc::new(AtomicBool::new(false))))
}
}
impl AsRef<Arc<AtomicBool>> for Exit {
fn as_ref (&self) -> &Arc<AtomicBool> {
&self.0
}
}